The equivalent to chkconfig is sysv-rc-conf we can use this instead of chkconfig for Run-level configuration
The sysv-rc-config an easily communicate and managing with "/etc/rc{runlevel}.d/" symlinks.
Install this package on your local system or server using apt-get command.
# sudo apt-get install sysv-rc-conf
List out chkconfig :
# sysv-rc-conf --list
memcached 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysql
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
memcached 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysql
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Assume that, let us configure the MySQL will be up on the next boots,
# sysv-rc-conf mysql on
# sysv-rc-conf --list
memcached 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysql 2:on 3:on 4:on 5:on
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# sysv-rc-conf --list
memcached 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysql 2:on 3:on 4:on 5:on
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
We can view the services graphically set on and off at startup time
Use ARROW KEYS and enter SPACE BAR or mouse to affect around and merely click on box run level will be enable or disable the services.
Check your Version:
# sysv-rc-conf --Version
Print version information to STDOUT and exit
Print version information to STDOUT and exit
Comments (0)