systemctl
控制系统 systemd 服务管理器。
$ systemctl daemon-reload
示例
# 重新加载守护进程配置 systemctl daemon-reload # 重置失败状态 systemctl reset-failed nginx # 列出所有单元 systemctl list-units # 列出所有定时器 systemctl list-timers
控制系统 systemd 服务管理器。
示例
# 重新加载守护进程配置 systemctl daemon-reload # 重置失败状态 systemctl reset-failed nginx # 列出所有单元 systemctl list-units # 列出所有定时器 systemctl list-timers