우분투 sysv-rc-conf

1 개요[ | ]

SysV Runlevel Config
우분투 sysv-rc-conf
/usr/sbin/sysv-rc-conf
  • "SysV 런레벨 설정"
  • SysV 스타일 서비스데몬 자동시작 설정
  • 런레벨별 서비스(init 스크립트) 실행여부 설정

2 주요 옵션[ | ]

기능 명령어 비고
설정보기 sysv-rc-conf --list 서비스
활성화(자동) sysv-rc-conf 서비스 on 런레벨 2,3,4,5에서 on
비활성화(수동) sysv-rc-conf 서비스 off 모두 off

3 실행예시: on/off[ | ]

root@zetawiki:~# sysv-rc-conf --list varnish
varnish      0:off	1:off	2:on	3:on	4:on	5:on	6:off
root@zetawiki:~# sysv-rc-conf varnish off
root@zetawiki:~# sysv-rc-conf --list varnish
varnish      0:off	1:off	2:off	3:off	4:off	5:off	6:off
root@zetawiki:~# sysv-rc-conf varnish on
root@zetawiki:~# sysv-rc-conf --list varnish
varnish      0:off	1:off	2:on	3:on	4:on	5:on	6:off

4 실행예시: TUI[ | ]

  • 옵션없이 실행하면 아래와 같은 설정화면(TUI)

 

→ 런레벨 별로 설정 가능

5 실행예시: 전체 목록[ | ]

root@zetawiki:~# sysv-rc-conf --list
acpid       
apparmor    
apport      
atd         
console-setu
cron        
dbus        
dns-clean    1:on	2:on	3:on	4:on	5:on
fail2ban     0:off	1:off	2:on	3:on	4:on	5:on	6:off
friendly-rec
grub-common  2:on	3:on	4:on	5:on
halt         0:on
irqbalance  
killprocs    1:on
kmod        
networking  
ondemand     2:on	3:on	4:on	5:on
pppd-dns     1:on	2:on	3:on	4:on	5:on
procps      
rc.local     2:on	3:on	4:on	5:on
reboot       6:on
resolvconf  
rsync        0:off	1:off	2:on	3:on	4:on	5:on	6:off
rsyslog     
screen-clean 0:off	1:off	2:on	3:on	4:on	5:on	6:off
sendsigs     0:on	6:on
single       1:on
ssh          2:on	3:on	4:on	5:on
sudo        
udev        
umountfs     0:on	6:on
umountroot   0:on	6:on
unattended-u 0:off	6:off
urandom      0:on	6:on	S:on

6 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}