summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-04-01 09:08:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-04-01 09:08:27 +0200
commit7584c9200bc105e316d290da9bcb94321a715f17 (patch)
tree98eb3ba30846c9e0da39c8a70263952124ddb71e
parent4846a83008ec7fa5137a53fbda0e2b48f33a62f7 (diff)
downloadnixos-7584c9200bc105e316d290da9bcb94321a715f17.tar
nixos-7584c9200bc105e316d290da9bcb94321a715f17.tar.gz
nixos-7584c9200bc105e316d290da9bcb94321a715f17.tar.bz2
nixos-7584c9200bc105e316d290da9bcb94321a715f17.tar.xz
nixos-7584c9200bc105e316d290da9bcb94321a715f17.zip
...
-rw-r--r--ymir.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index ea30967c..bea8dee0 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -1199,7 +1199,9 @@ in rec {
1199 systemd.services."nextcloud-send-event-reminders" = 1199 systemd.services."nextcloud-send-event-reminders" =
1200 let cfg = config.services.nextcloud; 1200 let cfg = config.services.nextcloud;
1201 fpm = config.services.phpfpm.pools.nextcloud; 1201 fpm = config.services.phpfpm.pools.nextcloud;
1202 in { environment = fpm.phpEnv; 1202 in { environment = {
1203 inherit (fpm.phpEnv) NEXTCLOUD_CONFIG_DIR;
1204 };
1203 serviceConfig.Type = "oneshot"; 1205 serviceConfig.Type = "oneshot";
1204 serviceConfig.User = "nextcloud"; 1206 serviceConfig.User = "nextcloud";
1205 serviceConfig.ExecStart = "${fpm.phpPackage}/bin/php -f ${cfg.package}/cron.php"; 1207 serviceConfig.ExecStart = "${fpm.phpPackage}/bin/php -f ${cfg.package}/cron.php";