Systemd
启动服务

systemctl start servicename.service

关闭服务

systemctl stop servicename.service

重启服务

systemctl restart sevicename.service

重新加载配置文件

systemctl daemon-reload

查看服务状态

systemctl status servicename.service

开机自启动

systemctl enable servicename.service

关闭开机自启动

systemctl disable servicename.service