redhat系では init 経由で起動するサービスの設定は,/sbin/chkconfig で行える.initng は,同様のツールとして /sbin/ng-update を提供している.
init | initng | |
---|---|---|
起動サービスの一覧 | /sbin/chkconfig --list | /sbin/ng-update show |
サービスの追加 | /sbin/chkconfig --add sshd | /sbin/ng-update add daemon/sshd |
サービスの削除 | /sbin/chkconfig --del sshd | /sbin/ng-update del daemon/sshd |
/sbin/chkconfig が変更するファイルは /etc/rc?.d/以下のリンク,一方/sbin/ng-update が変更するファイルは /etc/initng/???.runlevel である.