systemctl
配置文件目录
/etc/systemd/system/
/usr/lib/systemd/system/
常用命令
重新载入服务(当修过过服务文件后)
systemctl daemon-reload查看服务状态
systemctl status <service>查看服务文件
systemctl cat <service>启动服务
systemctl start <service>停止服务
systemctl stop <service>重启
systemctl restart <service>开机启动
systemctl enable <service>查看依赖
systemctl list-dependencies <service>