Unverified Commit c64c45da authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/nextcloud: don't execute cron when in maintenace/upgrade, don't kill cgroup

parent 42daa009
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -997,7 +997,9 @@ in {
          serviceConfig = {
            Type = "oneshot";
            User = "nextcloud";
            ExecCondition = "${lib.getExe phpPackage} -f ${webroot}/occ status -e";
            ExecStart = "${lib.getExe phpPackage} -f ${webroot}/cron.php";
            KillMode = "process";
          };
        };
        nextcloud-update-plugins = mkIf cfg.autoUpdateApps.enable {