Skip to content

Commit

Permalink
use incrementing auto-restart delay
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 15, 2024
1 parent 4b17962 commit eed2257
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions systemd/system/matterbridge.service.d/local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ RemoveIPC=true
ProcSubset=pid
ProtectProc=invisible
Restart=always
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5
4 changes: 3 additions & 1 deletion systemd/system/mjolnir.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions systemd/system/postgresql.service.d/local.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[Service]
Restart=always
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5

0 comments on commit eed2257

Please sign in to comment.