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

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

 

你可能感兴趣的:(nginx)