service XXX does not support chkconfig(service报错)

# 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 on 2022-05-25 21:41  小破孩楼主  阅读(279)  评论(0编辑  收藏  举报