use incrementing auto-restart delay

This commit is contained in:
Daniel Micay 2024-09-15 00:30:41 -04:00
parent 4b179627a2
commit eed2257335
3 changed files with 9 additions and 1 deletions

View File

@ -7,3 +7,6 @@ RemoveIPC=true
ProcSubset=pid
ProtectProc=invisible
Restart=always
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5

View File

@ -27,7 +27,9 @@ ProtectSystem=strict
ReadWritePaths=/var/lib/mjolnir
RemoveIPC=true
Restart=always
RestartSec=5s
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5
RestrictAddressFamilies=AF_INET6
RestrictNamespaces=true
RestrictRealtime=true

View File

@ -1,2 +1,5 @@
[Service]
Restart=always
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5