- Community Home
- >
- HPE Community, Taiwan
- >
- Linux
- >
- 系統管理
- >
- 怎樣整合到chkconfig
系統管理
1752815
會員
6273
線上
108789
解決方案
論壇
類別
Company
Local Language
返回
論壇
討論平台
返回
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
部落格
信息
社區語言
語言
論壇
部落格
文章選項
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 09-24-2005 06:39 AM
在 09-24-2005 06:39 AM
怎樣整合到chkconfig
# chkconfig --list可以看到下列的output,所以可以利用on ,off來enable or disable 該script的運作與否
dc_client 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
我自己也寫了一個start script放在rc4.d and rc5.d
我想把它辦法整合到chkconfig 裡面,做得到嗎?怎樣做?
# ls -al |grep joey
lrwxrwxrwx 1 root root 20 May 5 17:21 S96joey -> ../init.d/joey
# cd ../rc5.d
# ls -al |grep joey
lrwxrwxrwx 1 root root 20 May 5 20:02 S96joey -> ../init.d/joey
dc_client 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
我自己也寫了一個start script放在rc4.d and rc5.d
我想把它辦法整合到chkconfig 裡面,做得到嗎?怎樣做?
# ls -al |grep joey
lrwxrwxrwx 1 root root 20 May 5 17:21 S96joey -> ../init.d/joey
# cd ../rc5.d
# ls -al |grep joey
lrwxrwxrwx 1 root root 20 May 5 20:02 S96joey -> ../init.d/joey
2則回覆 2
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 09-27-2005 05:21 PM
在 09-27-2005 05:21 PM
怎樣整合到chkconfig
你當然可以把自己的 service 加進去, 只要用
#chkconfig --add joey
就可以了, 當然, 再用 chkconfig 檢查一次自己加的 service 有沒有在 list 裏面, 有需要的話再改執行的 run level
#chkconfig --add joey
就可以了, 當然, 再用 chkconfig 檢查一次自己加的 service 有沒有在 list 裏面, 有需要的話再改執行的 run level
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 10-03-2005 12:45 PM
在 10-03-2005 12:45 PM
怎樣整合到chkconfig
那是不是我將
chkconfig --level 12345 joey off掉之後
在rcX.d 的動作全部不會執行囉
chkconfig --level 12345 joey off掉之後
在rcX.d 的動作全部不會執行囉
以上表述為作者個人觀點,不代表惠普公司,使用本網站,請遵守網站使用規則和條款
© 版权所有 2024 慧与发展有限责任合伙企业