service X does not support chkconfig

来源:互联网 发布:番茄酱 知乎 编辑:程序博客网 时间:2024/05/21 11:21

增加这段代码在

/etc/init.d/对应的文件打开

编辑,填写这段代码在头部

#!/bin/sh:# chkconfig: 2345 95 20# description: Some description# What your script does (not sure if this is necessary though)# processname: myscript


0 0
原创粉丝点击