forked from mirrors_public/oddlama_nix-config
feat: update immich; decrease restart timer between failed attempts for all services to 60 seconds
This commit is contained in:
parent
dfe0345888
commit
605aee0a67
13 changed files with 18 additions and 14 deletions
|
@ -110,6 +110,6 @@ in {
|
|||
INTERFACE_ADDR=$(${pkgs.iproute2}/bin/ip -family inet -brief addr show lan | grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+")
|
||||
sed -i -e "s/123.123.123.123/$INTERFACE_ADDR/" "$STATE_DIRECTORY/AdGuardHome.yaml"
|
||||
'';
|
||||
serviceConfig.RestartSec = lib.mkForce "600"; # Retry every 10 minutes
|
||||
serviceConfig.RestartSec = lib.mkForce "60"; # Retry every minute
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue