modules: services: paperless: require postgres

This commit is contained in:
Bruno BELANYI 2022-10-07 15:07:04 +02:00
parent 05be340b7e
commit f6a00ec838

View file

@ -84,6 +84,7 @@ in
systemd.services = { systemd.services = {
paperless-scheduler = { paperless-scheduler = {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ]; after = [ "postgresql.service" ];
serviceConfig = { serviceConfig = {
@ -92,6 +93,7 @@ in
}; };
paperless-consumer = { paperless-consumer = {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ]; after = [ "postgresql.service" ];
serviceConfig = { serviceConfig = {
@ -100,6 +102,7 @@ in
}; };
paperless-web = { paperless-web = {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ]; after = [ "postgresql.service" ];
serviceConfig = { serviceConfig = {