mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
systemd service param update
This commit is contained in:
parent
2314e39291
commit
3505e8ff7e
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ WorkingDirectory=${APP_ROOT}
|
||||||
Environment="IS_SYSTEMD=1"
|
Environment="IS_SYSTEMD=1"
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1s
|
RestartSec=1s
|
||||||
|
KillMode=process
|
||||||
|
KillSignal=SIGINT
|
||||||
|
TimeoutStartSec=5s
|
||||||
|
TimeoutStopSec=5s
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Reference in a new issue