From b57c5937bde892fdcabbc30ff7c40044da2ac77e Mon Sep 17 00:00:00 2001 From: Dany LE Date: Fri, 31 Mar 2023 15:33:56 +0200 Subject: [PATCH] add restart delay to 10 sec to service file --- antd-tunnel-publisher.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/antd-tunnel-publisher.service b/antd-tunnel-publisher.service index 41e03fc..b15c61a 100644 --- a/antd-tunnel-publisher.service +++ b/antd-tunnel-publisher.service @@ -1,6 +1,7 @@ [Unit] Description=Antd Publisher Service After=antd.service +StartLimitIntervalSec=0 [Service] Type=simple @@ -8,6 +9,7 @@ User=root WorkingDirectory=/opt/www ExecStart=/opt/www/bin/runnerd Restart=always +RestartSec=10 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target