diff options
author | makefu <github@syntax-fehler.de> | 2023-06-03 15:32:00 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-06-03 15:32:00 +0200 |
commit | 6eef01862db8ec43fc34baa6c7a5fcf902d02816 (patch) | |
tree | 9b6455404cb6adaab712305725ab4c7184a68b60 | |
parent | f991e39660ea548fdb4f58a8b7a3fe472f2b5a7e (diff) |
ma nextcloud: try harder to start nextcloud after cloud mount
i will probably never get this right...
-rw-r--r-- | makefu/2configs/deployment/owncloud.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix index 36c67c7f0..8e5e71f11 100644 --- a/makefu/2configs/deployment/owncloud.nix +++ b/makefu/2configs/deployment/owncloud.nix @@ -59,7 +59,7 @@ systemd.services.postgresqlBackup-nextcloud.serviceConfig.SupplementaryGroups = users.users.nextcloud.extraGroups = [ "download" ]; services.nextcloud = { enable = true; - package = pkgs.nextcloud24; + package = pkgs.nextcloud25; hostName = "o.euer.krebsco.de"; # Use HTTPS for links https = true; @@ -97,5 +97,11 @@ systemd.services.postgresqlBackup-nextcloud.serviceConfig.SupplementaryGroups = systemd.services."nextcloud-setup" = { requires = ["postgresql.service"]; after = ["postgresql.service"]; + serviceConfig.RequiresMountFor = [ "/media/cloud" ]; }; + systemd.services."phpfpm-nextcloud".serviceConfig.RequiresMountFor = [ + "/media/cloud" + "/var/lib/nextcloud/data" + ]; + systemd.services."phpfpm".serviceConfig.RequiresMountFor = [ "/media/cloud" ]; } |