forked from DGNum/infrastructure
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:
parent
bc0dd0afd6
commit
ce45149dc3
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ in {
|
||||||
description = "Generate preview for nextcloud media.";
|
description = "Generate preview for nextcloud media.";
|
||||||
script = "${nextcloud-occ} preview:pre-generate -vvv";
|
script = "${nextcloud-occ} preview:pre-generate -vvv";
|
||||||
startAt = "*-*-* 01:00:00 UTC";
|
startAt = "*-*-* 01:00:00 UTC";
|
||||||
|
serviceConfig = { Restart = "on-failure"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
nextcloud-cron.path = [ pkgs.perl ];
|
nextcloud-cron.path = [ pkgs.perl ];
|
||||||
|
|
Loading…
Reference in a new issue