工具
systemd 快速参考
systemd 快速参考 的可打印速查表,适合快速查阅、学习和桌边参考
示例
速查表包含什么
- 服务管理
- Unit 文件
- 定时器
- Target
- 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下载