modules: services: paperless: require postgres
This commit is contained in:
parent
05be340b7e
commit
f6a00ec838
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue