mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-11-14 17:18:21 +01:00
add restart delay to 10 sec to service file
All checks were successful
gitea-sync/antd-tunnel-publishers/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-tunnel-publishers/pipeline/head This commit looks good
This commit is contained in:
parent
a16e89b087
commit
b57c5937bd
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Antd Publisher Service
|
Description=Antd Publisher Service
|
||||||
After=antd.service
|
After=antd.service
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
@ -8,6 +9,7 @@ User=root
|
|||||||
WorkingDirectory=/opt/www
|
WorkingDirectory=/opt/www
|
||||||
ExecStart=/opt/www/bin/runnerd
|
ExecStart=/opt/www/bin/runnerd
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user