Configure Services2013/05/06 |
Many services are running after installation, but there are some unnecessarry services for a usage. Then disable them.
|
|
[1] | It's possible to manage with a "insserv" command like follows. |
# list services/jobs root@dlp:~# insserv -s K:01:0 1 6:mpt-statusd K:06:0 6:umountfs K:04:0 6:umountnfs.sh K:02:0 6:sendsigs K:03:0 1 6:rsyslog K:07:0 6:umountroot K:08:0:halt K:08:6:reboot K:05:0 6:networking K:01:0 6:urandom K:04:0 6:hwclock.sh S:02:S:udev S:03:S:keyboard-setup S:16:S:console-setup S:02:2 3 4 5:mpt-statusd S:09:S:mountall.sh S:10:S:mountall-bootclean.sh ..... ..... # disable auto-start for acpid root@dlp:~# insserv -r acpid
# set auto-start for acpid root@dlp:~# insserv -d acpid |
[2] | There is also a tool like follows. |
root@dlp:~#
root@dlp:~# aptitude -y install sysv-rc-conf sysv-rc-conf --list # list services acpid 2:on 3:on 4:on 5:on bootlogs 1:on 2:on 3:on 4:on 5:on console-setu S:on cron 2:on 3:on 4:on 5:on halt 0:off kbd S:on keyboard-set S:on killprocs 1:on kmod S:on lvm2 S:on motd 1:on 2:on 3:on 4:on 5:on mpt-statusd 0:off 1:off 2:on 3:on 4:on 5:on 6:off networking 0:off 6:off S:on procps S:on rc.local 2:on 3:on 4:on 5:on reboot 6:off rmnologin 2:on 3:on 4:on 5:on rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off sendsigs 0:off 6:off single 1:on ssh 2:on 3:on 4:on 5:on udev S:on udev-mtab S:on umountfs 0:off 6:off umountroot 0:off 6:off urandom 0:off 6:off S:onroot@dlp:~# sysv-rc-conf acpid off # disable auto-start for acpid root@dlp:~# sysv-rc-conf acpid on # set auto-start for acpid |
Sponsored Link |
|