首页 > 其他 > 详细

CentOS使用chkconfig增加开机服务提示service xxx does not support chkconfig的问题解决

时间:2020-04-12 00:56:23      阅读:137      评论:0      收藏:0      [点我收藏+]

CentOS使用chkconfig增加开机服务提示service xxx does not support chkconfig的问题解决

在service服务管理目录下的shell脚本的第二行增加如下内容即可:指定运行级别

chkconfig: 2345 10 90

服务必须在运行级2,3,4,5下被启动或关闭,启动的优先级是90,关闭的优先级是10。

description: Start and Stop xxx

CentOS使用chkconfig增加开机服务提示service xxx does not support chkconfig的问题解决

原文:https://www.cnblogs.com/wangchengshi/p/12683305.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!