运行服务 systemctl start 服务名
停止服务 systemctl stop 服务名
重启服务 systemctl restart 服务名
显示服务运行状态 systemctl status 服务名
开机自动启动服务 systemctl enable 服务名
停止开启自动启动服务 systemctl disable 服务名
更新服务列表 systemctl daemon-reload
查看已激活的服务 systemctl list-units -t service
systemd常用指令
发布于 2019-01-20 496 次阅读
Comments | NOTHING