优化系统服务逻辑

This commit is contained in:
刘祥超
2021-01-12 10:56:30 +08:00
parent 6a42482323
commit b975dd48c9
3 changed files with 58 additions and 3 deletions

View File

@@ -126,10 +126,10 @@ Before=shutdown.target
After=network-online.target
[Service]
Type=forking
Type=simple
Restart=always
RestartSec=1s
ExecStart=` + exePath + ` start
ExecStart=` + exePath + ` daemon
ExecStop=` + exePath + ` stop
ExecReload=` + exePath + ` reload