- 註冊時間
- 2006-3-13
- 最後登錄
- 2025-1-10
- 在線時間
- 673 小時
- 閱讀權限
- 200
- 積分
- 417
- 帖子
- 1107
- 精華
- 0
- UID
- 2
  
|
訊息內容為土耳其文
from http://www.kadirsert.com/2009/ru ... as-a-linux-service/Script must be saved under the /etc/inid.d directory and execute permission must be given;
$ chmod 755 /etc/init.d/LinuxAgent
Chkconfig utility registers the service;
$ chkconfig –add LinuxAgent
$ chkconfig LinuxAgent –level 12345 on
Now service is created and we start and stop service with these commands;
$ service LinuxAgent start
$ service LinuxAgent stop
To learn the status of the service;
$ service LinuxAgent status |
|