sysV init服务脚本(入门级)

在sysV风格的init系统中,以Centos 6.x为例,系统服务脚本一般在/etc/rc.d/init.d目录下,每个支持sysV init的脚本,一般都可以接受如下参数:     start|stop|restart|status   //这就是我们在centos下常用的控制服务启动与停止的参数。 并且,在sysV init脚本中都会在注释中有这么一行 #chkconfig:runlevel
相关文章
相关标签/搜索