Skip to content
Snippets Groups Projects
Commit 812bd061 authored by Dinyar Rabady's avatar 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 e810042e
No related branches found
No related tags found
No related merge requests found
......@@ -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