Skip to content
Snippets Groups Projects
Commit 45e97bcd authored by Dinyar Rabady's avatar Dinyar Rabady Committed by Dinyar Rabady
Browse files

Limit the number of restarts via systemd

We allow 5 restarts within a 100 second interval to avoid persisting in
a hopeless situation.
Belongs to #15.
parent abeebe22
No related branches found
No related tags found
No related merge requests found
Pipeline #4532720 passed
......@@ -9,7 +9,9 @@ User=scouter
Group=scouter
WorkingDirectory=/opt/scdaq/scripts
Restart=always
RestartSec=10
RestartSec=5
StartLimitInterval=100
StartLimitBurst=5
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment