启动服务
systemctl start xxxx.service
停止服务
systemctl stop xxxx.service
重启服务
systemctl restart xxxx.service
设置开机自动启动
systemctl enable xxxx.service
取消开机自动启动
systemctl disable xxxx.service
查询服务是否开机自启动
systemctl is-enabled xxxx.service
查询服务状态
systemctl status xxxx.service