0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

systemctlコマンド

Last updated at Posted at 2022-05-27

systemctl サブコマンド [Unit名]
Unit名の拡張子が省略された場合は、.serviceの拡張子のUnit名が指定されたものとなります。

サブコマンド 説明
disable サービスの自動起動を無効にします
enable サービスの自動起動を有効にします
get-default 次回起動時のターゲットを表示します
halt システムを停止し、halt状態にします
is-active サービスが起動しているかを表示します
isolate 他のUnitを停止して、対象のUnitを起動します
list-unit-files すべてのUnit定義ファイルを一覧表示します
reboot システムを再起動します
reload サービスの設定ファイルを再読込みします
restart サービスを再起動します
set-default 次回起動時のターゲットを設定します
start サービスを起動します
status サービスの状態を表示します
stop サービスを停止します
poweroff システムを停止して、電源を落とします
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?