chkconfigにデーモンを追加したい。
1 2 3 4 5 6
- | | ! - |
# 以下のコメントを追記する # フォーマットは、chkdonfig: [デフォルトランレベル] [起動の優先度] [停止の優先度] # description(説明)を項目ごと消してしまうと、chkconfigに追加できない # chkconfig: 3 92 10 # description: hoge
1
chkconfig --add [/etc/init.dに作成したスクリプト名]
chkconfig --list