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 1 year has passed since last update.

Linux systemctlコマンドとシステム全体のサブコマンドについて

Posted at

●ユニットに関わる主なsystemctlサブコマンド

・mask ユニット(サービス等)の無効化(マスク)
・unmask ユニット(サービス等)の有効化(アンマスク)

●システム全体の起動・停止に関わるサブコマンド

・poweroff 電源OFF
・emergency 緊急モードに移行
・rescue レスキューモードに移行
・default 標準モードに移行
・再起動

●systemdを使ったシステムにおいて、ユニット、ターゲットの定義ファイルを置くディレクトリ

・/user/lib/systemd/system 永続的なユニット・ターゲットの定義ファイルが置かれるディレクトリパッケージのインストールなどで格納先となる
・/etc/systemd/system カスタム用のディレクトリ。起動時に開始するターゲットを定める「default.target」がおかれる。
・/run/systemd/system 再起動すると削除されるディレクトリ

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?