启动服务状态
systemctl start nginx.service
查询服务状态
systemctl status nginx.service
开机启动
systemctl enable nginx.service
取消开机启动
systemctl disable nginx.service
验证是否开机启动
systemctl is-enabled nginx
参考
https://www.cnblogs.com/Areas/p/13439000.html