From f6a00ec83824bb2969cbf82391fe9f9d06074d4a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 7 Oct 2022 15:07:04 +0200 Subject: [PATCH] modules: services: paperless: require postgres --- modules/services/paperless/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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 = {