ツール
systemd クイックリファレンス
systemd クイックリファレンス の印刷用チートシート。すばやい参照、学習、机上利用向けに整理されています
サンプル
このチートシートの内容
- サービス管理
- ユニットファイル
- タイマー
- ターゲット
- Journalctl
- ネットワーク
- マウント
- 環境変数
- 依存関係
- よく使うパターン
基本的なサービスコマンド
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl reload nginx # reload config
systemctl status nginx
有効化と無効化
systemctl enable nginx # start at boot
systemctl disable nginx # remove from boot
systemctl enable --now nginx # enable + start
systemctl is-enabled nginx
サービスの状態
active (running) | サービスが正常に動作中 |
active (exited) | 一度実行して正常終了 |
inactive (dead) | サービスが停止中 |
failed | サービスがクラッシュまたはエラー終了 |
activating | サービスが起動中 |
すべてのセクションを含む印刷用チートシートをダウンロード
PDF をダウンロードダウンロード