nextcloud: require postgresql for service setup
This commit is contained in:
parent
0cf16198a8
commit
e6b1f1381a
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue