* サービス制御 [#ede85c8e]

** 制御コマンド [#u9af0e3d]

*** Redhat系 [#c0b967d3]
 chkconfig

*** Debian系 [#cacf3486]
 sysv-rc-conf
標準インストールされない場合があるので、なければapt-get install sysv-rc-confでインストールする。

** chkconfig rcスクリプト [#q3811759]

 #!/bin/sh
 #
 # Foo Startup script for the Foo
 #
 # Starts the test daemon(test version)
 #
 # chkconfig: 345 99 15
 # description: Foo is bar. It is user for Baz

- chkconfig:行とdescription:行が必須。
- chkfonfig: 起動するランレベル(345) 起動時の優先順位(99) 停止時の優先順位(15)

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS