LoginSignup
1
1

More than 5 years have passed since last update.

systemctlコマンド チートシート

Last updated at Posted at 2019-03-12

systemctlコマンド 一覧

  • .serviceは省略可能
  • nameはサービス名
systemctl 詳細
systemctl start name.service サービスを起動します。
systemctl stop name.service サービスを停止します。
systemctl restart name.service サービスを再起動します。
systemctl try-restart name.service サービスが実行中の場合のみ、再起動します。
systemctl reload name.service 設定を再読み込みします。
systemctl status name.service サービスが実行中かどうかをチェックします。
systemctl list-units --type service --all すべてのサービスのステータスを表示します。
systemctl enable name.service サービスを有効にします。
systemctl disable name.service サービスを無効にします。
systemctl list-dependencies --after 指定されたユニットの前に開始するよう命令されるサービスを一覧表示します。
systemctl list-dependencies --before 指定されたユニットの後に開始するように命令されるサービスを一覧表示します。

Link

Hat Enterprise>Linux>7>システム管理者のガイド10.2.システムサービスの管理

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1