nextcloud: require postgresql for service setup

This commit is contained in:
Antoine Martin 2021-03-24 00:14:43 +01:00
parent 0cf16198a8
commit e6b1f1381a

View file

@ -28,6 +28,12 @@ in
]; ];
}; };
# not handled by module
systemd.services.nextcloud-setup= {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
};
services.postgresqlBackup = { services.postgresqlBackup = {
databases = [ dbName ]; databases = [ dbName ];
}; };