Ubuntuでchkconfig
Ubuntuにはchkconfigコマンドが無いのでサービスの起動や停止はどうするんだろうと思ったが、sysv-rc-confというコマンドがあった。
[yuanying@azurea ~]$apt-cache search sysv-rc-conf sysv-rc-conf - SysV init runlevel configuration tool for the terminal
と言う訳でインストール。
[yuanying@azurea ~]$sudo apt-get install sysv-rc-conf
使い方は、
[yuanying@azurea ~]$sysv-rc-conf -h
Usage:
sysv-rc-conf [ options ]
sysv-rc-conf --list [ service ]
sysv-rc-conf [ --level levels ] service