#chkconfig --add nginx
service nginx does not support chkconfig
意思就是 nginx的服务不支持chkconfig
解决办法:在
#!/bin/bash
# nginx Startup script for the Nginx HTTP Server
# it is v.0.0.2 version.
下面添加如下代码
# chkconfig: - 85 15
# description: nginx is a World Wide Web server. It is used to serve
#wq!保存之后
#chkconfig --add nginx
无提示说明OK
测试服务#service nginx stop | start | restart
原创文章,转载请注明: 转载自荣耀博客
本文链接地址: service nginx does not support chkconfig
本文链接地址: service nginx does not support chkconfig