diff --git a/modules/services/paperless/default.nix b/modules/services/paperless/default.nix index 5ba9709..9eebb2c 100644 --- a/modules/services/paperless/default.nix +++ b/modules/services/paperless/default.nix @@ -84,6 +84,7 @@ in systemd.services = { paperless-scheduler = { + requires = [ "postgresql.service" ]; after = [ "postgresql.service" ]; serviceConfig = { @@ -92,6 +93,7 @@ in }; paperless-consumer = { + requires = [ "postgresql.service" ]; after = [ "postgresql.service" ]; serviceConfig = { @@ -100,6 +102,7 @@ in }; paperless-web = { + requires = [ "postgresql.service" ]; after = [ "postgresql.service" ]; serviceConfig = {