nextcloud: set requiresmountfor again

This commit is contained in:
makefu 2024-01-15 22:46:19 +01:00
parent 1a4e24150c
commit c559d6ac76
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -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" ];
}