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
169 탐색기 메뉴에 '명령 프롬프트 열기'와 '메모장으로 열기' 추가하기 file [14] LynX 2010-11-08 547
168 설치파일(inf)에 대한 이해 [7] LynX 2011-06-22 546
167 Linux 리눅스에 곰플레이어 설치하기 file LynX 2014-07-01 536
166 CentOS CemtOS 7.3 base Trinitycore 3.3.5 Compile file LynX 2017-11-13 520
165 Linux Linux에 Boost 설치하기 LynX 2015-11-30 519
164 Linux ISO 마운트 [10] LynX 2014-12-22 516
163 Programing 개행문자 LynX 2014-10-29 513
162 Server Open Solaris 패키지 설치 및 삭제 LynX 2014-12-29 511
161 윈도우7 메모리 인식 문재 file [13] LynX 2011-11-30 509
» Linux rc.local 서비스 등록하기 LynX 2014-07-22 505
159 Linux AfterLogic Webmail 설치 LynX 2015-12-29 503
158 Printer HP Officejet Pro K8600 호환 드라이버 [10] LynX 2013-06-21 493
157 Network EtherChannel / Spanning-Tree file [14] LynX 2015-04-29 490
156 Xpress Engine XE3 [1] LynX 2016-02-03 489
155 Linux CentOS 텔넷 접속시 한글꺠짐 현상 제거 LynX 2014-06-30 486
154 Linux ibus 한영키 전환 문제 nabi [12] LynX 2014-12-19 483
153 CentOS7 ▒ Doly의 CentOS7 강좌31 12. 네트워크 보안설정 12.2 iptables 서비스 (2/3) LynX 2016-01-07 480
152 Linux postfix dovecot file [14] LynX 2014-11-24 478
151 APM 아파치에서 ASP 사용 LynX 2014-05-26 478
150 CentOS CentOS7 GCC-5.1.1 yum install LynX 2017-11-10 477

XE Login