增加这段代码在
/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
增加这段代码在
/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