You cannot see this page without javascript.

rc.local 서비스 등록하기

Linux 조회 수 505 추천 수 0 2014.07.22 15:12:23

#vim /usr/lib/systemd/system/rc-local.service


빨간색 부분을 추가한다.


#  This file is part of systemd.

#

#  systemd is free software; you can redistribute it and/or modify it

#  under the terms of the GNU General Public License as published by

#  the Free Software Foundation; either version 2 of the License, or

#  (at your option) any later version.


# This unit gets pulled automatically into multi-user.target by

# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.

[Unit]

Description=/etc/rc.d/rc.local Compatibility

After=network.target


[Service]

Type=forking

ExecStart=/etc/rc.d/rc.local start

TimeoutSec=0

RemainAfterExit=yes

SysVStartPriority=99


[Install]

WantedBy=multi-user.target


/etc/rc.d/rc.local 파일을 생성하고, 실행가능하도록


#chmod 755 /etc/rc.d/rc.local

#systemctl enable rc-local.service

#systemctl start rc-local.service

엮인글 :
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
229 Linux [Linux] 특정 계정만 su -(root)를 통한 root접근 허용 LynX 2014-07-04 294
228 Linux CentOS 6.5에 JSP를 위한 JDK & Tomcat file LynX 2014-07-05 477
227 Linux Xming 으로 X-Window 원격 접속 하기 LynX 2014-07-07 1417
226 Xpress Engine xe 서버이전 LynX 2014-07-10 324
225 Xpress Engine XE 애드온(addon)개발하기 LynX 2014-07-11 1044
224 Xpress Engine XE 애드온의 제작 규칙 LynX 2014-07-11 420
223 Xpress Engine XE 애드온 --XE 애드온의 기초 이해 LynX 2014-07-11 842
222 Xpress Engine XE - XML 쿼리 언어 LynX 2014-07-11 3104
221 Xpress Engine module_srl 과 mid 변환 LynX 2014-07-12 576
220 Xpress Engine XE용 query xml 방식으로 일반 테이블도 접근 처리 하기 LynX 2014-07-14 459
219 Xpress Engine xe 모든 변수값 출력해 보기 LynX 2014-07-14 93759
218 Xpress Engine xe 외부 php 파일에서 db 접근하기 executeQuery() LynX 2014-07-14 920
217 Linux 리눅스 기본 명령어 LynX 2014-07-16 792
216 Xpress Engine XML 쿼리 대신 직접 mysql 사용하기 LynX 2014-07-16 391
215 Xpress Engine XML 쿼리 대신 직접 mysql 사용하기 LynX 2014-07-19 273
214 Linux SSH 컴파일 설치 LynX 2014-07-19 377
213 Linux 페도라17(centos7) 새로운 서비스 관리 LynX 2014-07-20 570
212 Linux systemd unit 등록 옵션 LynX 2014-07-22 20455
» Linux rc.local 서비스 등록하기 LynX 2014-07-22 505
210 Linux sendmail, dovecot 설치 및 설정 [20] LynX 2014-08-01 2724

XE Login