Skip to content

Commit 3978b96

Browse files
committed
try to restart service every 30 sec indefinitely
1 parent c85d153 commit 3978b96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dist/rpid.service

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ Wants=network-online.target
66
Wants=nss-lookup.target
77
Before=nss-lookup.target
88

9-
StartLimitBurst=5
10-
StartLimitIntervalSec=10
9+
StartLimitIntervalSec=0
1110

1211
[Service]
1312
Type=simple
1413
Restart=always
15-
RestartSec=1
14+
RestartSec=30
1615
User=%USER%
1716
ExecStart=/usr/bin/rpid --config /etc/rpid/config.yml
1817
StandardOutput=append:/var/log/rpid.log

0 commit comments

Comments
 (0)