fix(nextcloud-preview): Restart the service when then DNS resolution inevitably fails even though it is hardcoded in the hosts file

This commit is contained in:
Tom Hubrecht 2023-12-18 15:38:46 +01:00
parent bc0dd0afd6
commit ce45149dc3

View file

@ -169,6 +169,7 @@ in {
description = "Generate preview for nextcloud media.";
script = "${nextcloud-occ} preview:pre-generate -vvv";
startAt = "*-*-* 01:00:00 UTC";
serviceConfig = { Restart = "on-failure"; };
};
nextcloud-cron.path = [ pkgs.perl ];