xxxx does not support chkconfig 的问题

# chkconfig --add xxx
service xxx does not support chkconfig

需要在该启动脚本里添加如下文件信息

# chkconfig: 2345  50  90
# description: test mic server scripts

 

#chkconfig: 2345  50  90  含义 

其中2345是默认启动级别,级别有0-6共7个级别

50是启动优先级,

90是停止优先级,

优先级范围是0-100,数字越大,优先级越低。

posted @ 2019-06-10 20:43  周零开  阅读(12)  评论(0)    收藏  举报