让你的daemon在Centos下也支持chkconfig
让你的daemon在Centos下也支持chkconfig
让你的daemon在Centos下也支持chkconfig
不是把daemon脚本拷贝到/etc/init.d下面都能够支持chkconfig的
能否支持chkconfig,主要看daemon脚本的头部注释
# chkconfig: 345 28 72
# processname: www.2cto.com
# description:
其中最重要的是chkconfig这一行注释,345是表示默认的runlevel,
28表示启动优先级,72表示关闭优先级。
作者 大龙
评论暂时关闭