目录
操作流程
systemd常用指令
- systemctl start 程序:开启
- systemctl restart 程序:重启
- systemctl stop 程序:关闭
- systemctl reload 程序:重新加载(不用关闭)
- systemctl enable 程序:开机自启
- systemctl enable --now 程序:开机自启并且立即开启
- systemctl disable 程序:开机不自启
- systemctl disable --now 程序:开机不自启并立即关闭
- systemctl status 程序:查看状态