RedHat系Linuxで標準採用されているサービスの起動、停止につかわれるコマンド
RedHatはもちろんそれをベースとしたものはほとんど使える。
chkconfig --list
chkconfig --level サービス名 345 on
#!/bin/sh # chkconfig: 2345 85 15 # description: apache2
cp (/usr/local/apache2/bin/apachectl apache2
chkconfig --add apache2
chkconfig --del サービス名