systemctl
注意サービス管理(systemd)
systemctl status <svc>
サービスの状態確認・起動・停止・自動起動設定を行う。
実行例
systemctl status nginxnginxの状態確認systemctl restart sshdsshdを再起動
書式
systemctl status|start|stop|restart|enable <service>
注意サービス管理(systemd)
systemctl status <svc>
サービスの状態確認・起動・停止・自動起動設定を行う。
systemctl status nginxnginxの状態確認systemctl restart sshdsshdを再起動systemctl status|start|stop|restart|enable <service>