diff --git a/2configs/deployment/owncloud.nix b/2configs/deployment/owncloud.nix index b9f05e9..7a8ba43 100644 --- a/2configs/deployment/owncloud.nix +++ b/2configs/deployment/owncloud.nix @@ -95,13 +95,12 @@ in { systemd.services."nextcloud-setup" = { requires = ["postgresql.service"]; after = ["postgresql.service"]; - serviceConfig.RequiresMountFor = [ "/media/cloud" ]; + unitConfig.RequiresMountsFor = [ "/media/cloud" ]; }; - systemd.services."phpfpm-nextcloud".serviceConfig.RequiresMountFor = [ + systemd.services."phpfpm-nextcloud".unitConfig.RequiresMountsFor = [ "/media/cloud" "/var/lib/nextcloud/data" ]; - systemd.services."phpfpm".serviceConfig.RequiresMountFor = [ "/media/cloud" ]; }