Uncategorized

systemctl

thatisgraffiti

systemctlのコマンドについての備忘録。

コマンド群
操作内容コマンド
サービス起動systemctl start [サービス名]
サービス停止systemctl stop [サービス名]
サービス再起動systemctl restart [サービス名]
サービスのリロードsystemctl reload [サービス名]
サービスステータス表示systemctl status [サービス名]
サービス自動起動有効systemctl enable [サービス名]
サービス自動起動無効systemctl disable [サービス名]
サービス自動起動設定確認systemctl is-enabled [サービス名]
サービス一覧systemctl list-unit-files –type=service
現在のサービス機動状態の確認systemctl list-units -t service
設定ファイルの再読込systemctl daemon-reload
ABOUT ME
記事URLをコピーしました