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 로우 포맷(Low level format, 저수준 포맷) 하기 file [11] LynX 2011-07-06 692
168 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 696
167 APM PHP 5.5.12 설치 file LynX 2013-12-31 698
166 PHP 5.3 + MSSQL 연동 [2] LynX 2012-12-08 699
165 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 709
164 Linux 리눅스 게이밍 가이드 2부 : 실전 게임 플레이와 문제 해결 [13] LynX 2014-12-24 714
163 Windows7 OEM을 활용하여 클린설치 file [11] LynX 2010-11-06 719
162 HardWare PacketTracer533_setup file LynX 2013-10-16 727
161 APM mysql ./configure LynX 2017-12-15 730
160 Linux 커널 컴파일 [10] LynX 2014-12-08 743
159 Linux LFS/Preparation - 준비 LynX 2014-08-06 745
158 Linux Centos 동영상플레이어 LynX 2014-06-29 755
157 HTML Tag JWPlayer 사용법 #1 시작 file [7] LynX 2013-06-25 762
156 HTML Tag Flowplayer [11] LynX 2013-07-20 768
155 APM httpd.conf 정리 LynX 2013-12-27 770
154 APM phpmyadmin 설정 LynX 2013-12-27 775
153 OpenSolaris Open Solaris 에서 MariaDB 설치 [8] LynX 2014-12-30 784
152 Linux 리눅스 기본 명령어 LynX 2014-07-16 792
151 Programing PHP print LynX 2013-12-12 794
150 RoundCube 첨부 용량 변경 / 한글 수정 [10] LynX 2012-01-31 795

XE Login