Skip to content

Commit

Permalink
try to restart service every 30 sec indefinitely
Browse files Browse the repository at this point in the history
  • Loading branch information
parMaster committed Aug 29, 2023
1 parent c85d153 commit 3978b96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dist/rpid.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ Wants=network-online.target
Wants=nss-lookup.target
Before=nss-lookup.target

StartLimitBurst=5
StartLimitIntervalSec=10
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
RestartSec=30
User=%USER%
ExecStart=/usr/bin/rpid --config /etc/rpid/config.yml
StandardOutput=append:/var/log/rpid.log
Expand Down

0 comments on commit 3978b96

Please sign in to comment.