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 Linux PlayOnLinux [3] LynX 2014-11-28 418
168 Linux 커널 컴파일 [10] LynX 2014-12-08 743
167 Linux Codec [12] LynX 2014-12-08 355
166 Linux cinnamon [10] LynX 2014-12-11 287
165 Linux EPEL repository [10] LynX 2014-12-11 945
164 LinuxMint linuxmint LynX 2014-12-11 953
163 Linux lazarus 설치 [10] LynX 2014-12-17 340
162 LinuxMint LinuxMint MariaDB source 설치 [12] LynX 2014-12-19 1135
161 LinuxMint mint linux 한영키 [10] LynX 2014-12-19 385
160 Linux ibus 한영키 전환 문제 nabi [12] LynX 2014-12-19 483
159 Linux lol 설치 [9] LynX 2014-12-22 958
158 Linux ISO 마운트 [10] LynX 2014-12-22 516
157 Linux opensuse yum repository 추가 [13] LynX 2014-12-23 636
156 Linux 리눅스 게이밍 가이드 1부 : 게임을 위한 환경 설정 [10] LynX 2014-12-24 1027
155 Linux 리눅스 게이밍 가이드 2부 : 실전 게임 플레이와 문제 해결 [13] LynX 2014-12-24 714
154 Server Open Solaris 패키지 설치 및 삭제 LynX 2014-12-29 511
153 LinuxMint LinuxMint Apache source 설치 file [8] LynX 2014-12-29 571
152 LinuxMint LinuxMint PHP source 설치 [1] LynX 2014-12-30 297
151 CentOS CentOS 에 설치된 커널과 오랜된 커널 삭제하기 LynX 2014-12-30 970
150 OpenSolaris Open Solaris 설치 file [12] LynX 2014-12-30 417

XE Login