优化系统服务逻辑

This commit is contained in:
GoEdgeLab
2021-01-12 10:56:30 +08:00
parent e84915d9b0
commit 2a5e90caeb
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