centos常用运维命令
systemctl常用
文件名:**.service
目录:/lib/systemd/system/
目录:/usr/lib/systemd/system/
systemctl daemon-reload
systemctl status ***.service
systemctl restart
[Unit]
Description=AppDescription
[Service]
WorkingDirectory=WorkingDirector
ExecStart=WorkingDirectory/execfile
Restart=alwaysRestartSec=1
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=multi-user.target