feat: update immich; decrease restart timer between failed attempts for all services to 60 seconds

This commit is contained in:
oddlama 2024-03-12 21:06:01 +01:00
parent dfe0345888
commit 605aee0a67
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
13 changed files with 18 additions and 14 deletions

View file

@ -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
};
}