fix: Makes all Docker Compose automatically restart on failure
This commit is contained in:
parent
a057154f0f
commit
a7de9aee6c
8 changed files with 31 additions and 22 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
systemd.services."docker-terahdev-web" = {
|
||||
serviceConfig = {
|
||||
Restart = lib.mkOverride 90 "on-failure";
|
||||
Restart = lib.mkOverride 90 "always";
|
||||
RestartMaxDelaySec = lib.mkOverride 90 "1m";
|
||||
RestartSec = lib.mkOverride 90 "100ms";
|
||||
RestartSteps = lib.mkOverride 90 9;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue