Systemd 设置开机自启动服务 centos 6 7
nginx安装及其配置详细教程
https://www.cnblogs.com/lywJ/p/10710361.html
springboot自启动脚本shell、systemctl以及service文件Environment用法
https://blog.csdn.net/weixin_39992480/article/details/102761989
systemd 脚本设置服务
https://blog.csdn.net/liuwei0376/article/details/111472935
编写systemd service文件
https://blog.csdn.net/djskl/article/details/46671453
如何编写一个Systemd Service
https://segmentfault.com/a/1190000014740871
https://unix.stackexchange.com/questions/506347/why-do-most-systemd-examples-contain-wantedby-multi-user-target/506374
如何优雅的使用 Systemd 管理服务
https://zhuanlan.zhihu.com/p/271071439
systemctl使用reload及踩坑
https://blog.csdn.net/weixin_39992480/article/details/95484293
第十二章 systemctl管理脚本
http://www.bubuko.com/infodetail-3702918.html
centos 6
/etc/init.d/sshd restart
/etc/init.d/sshd reload
service sshd restart
centos 7
systemctl status sshd.service
systemctl restart sshd.service