2024年5月8日 星期三
通知

service nginx does not support chkconfig

#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

关于 荣耀博客

好记性,不如烂笔头。

随机推荐

2018031608215495 310x165.jpg

PHP安装Xcache加速模块

我使用的阿里云一键安装包sh- …

发表回复