原文:service XXX does not support chkconfig

有時候為了方便管理,我們常常喜歡在Linux中將之安裝為服務,然后就可以使用服務來管理。 但是當我們運行安裝服務的命令時候,假設服務名為myservice 常常會出現 我們一般在腳本開頭加入下面兩句就好了 gedit etc init.d myservice 添加下面兩句到 bin bash 之后。 其中 是默認啟動級別,級別有 共 個級別。 等級 表示:表示關機 等級 表示:單用戶模式 等級 表 ...

2012-07-12 11:31 2 34096 推薦指數:

查看詳情

service redis does not support chkconfig的解決辦法

原文鏈接: http://my.oschina.net/maczhao/blog/322931 問題解決辦法如下: 必須把下面兩行注釋放在/etc/init.d/redis文件靠前的注釋中: # chkconfig: 2345 90 10 # description: Redis ...

Mon Aug 31 23:13:00 CST 2015 0 3588
service mc_start.sh does not support chkconfig

在構建docker鏡像時,編寫Dockerfile構建鏡像時,配置自啟動腳本報錯,service mc_start.sh does not support chkconfig 添加下面兩句到 #!/bin/bash 之后。 注:chkconfig命令對應的目錄是/etc ...

Wed Aug 28 02:21:00 CST 2019 0 524
service redis does not support chkconfig的解決辦法

問題解決辦法如下: 必須把下面兩行注釋放在/etc/init.d/redis文件靠前的注釋中: # chkconfig: 2345 90 10 # description: Redis is a persistent key-value database ...

Thu Oct 18 23:38:00 CST 2012 1 15648
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM