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 进程名 initdb 那就会报以上错误
本文解释了服务命令仅支持基本LSB操作如启动、停止等,并建议对于其他操作使用systemctl。例如当尝试使用不支持的操作如initdb时会收到错误提示。
5万+

被折叠的 条评论
为什么被折叠?



