nginx之The service command supports only basic LSB actions (start, stop, restart, try-restart, reload

偶尔善良 提交于 2019-12-11 23:44:09
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.

意思就是   服务命令只支持基本的LSB操作(启动、停止、重新启动、尝试重启、重新加载、强制重新加载、状态)。对于其他操作,请尝试使用systemctl。

我是使用了如下命令:

service start nginx

将其更换为:

systemctl start nginx

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!