在 /etc/init.d/nginx 创建脚本并增加执行权限后,执行 service nginx stop 报下面的错:
Failed to stop nginx.service: Unit nginx.service not loaded.
是不是需要为 nginx 创建一个 unit file ?
在 /etc/init.d/nginx 创建脚本并增加执行权限后,执行 service nginx stop 报下面的错:
Failed to stop nginx.service: Unit nginx.service not loaded.
是不是需要为 nginx 创建一个 unit file ?