From 7922206e61684b668343a76c61615173d1b04cb6 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Wed, 20 Sep 2023 22:38:34 +0200 Subject: [PATCH] fix: environment --- templates/paperless-ngx.quadlet.j2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/paperless-ngx.quadlet.j2 b/templates/paperless-ngx.quadlet.j2 index 378cc4f..8ac6c9b 100644 --- a/templates/paperless-ngx.quadlet.j2 +++ b/templates/paperless-ngx.quadlet.j2 @@ -1,6 +1,15 @@ [Unit] Description=Paperless-ngx +Requires=paperless-ngx-postgres.service +Requires=paperless-ngx-redis.service +Requires=paperless-ngx-tika.service +Requires=paperless-ngx-gotenberg.service +After=paperless-ngx-postgres.service +After=paperless-ngx-redis.service +After=paperless-ngx-tika.service +After=paperless-ngx-gotenberg.service + [Container] ContainerName=paperless-ngx Image=ghcr.io/paperless-ngx/paperless-ngx:{{ paperless_ngx_version }} @@ -24,7 +33,7 @@ Environment=PAPERLESS_DBPASS=paperless Environment=PAPERLESS_REDIS=redis://paperless-ngx-redis:6379 -PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }} +Environment=PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }} Network=traefik.network Network=paperless.network @@ -65,12 +74,3 @@ TimeoutStopSec=90 [Install] WantedBy=default.target - -Requires=paperless-ngx-postgres.service -Requires=paperless-ngx-redis.service -Requires=paperless-ngx-tika.service -Requires=paperless-ngx-gotenberg.service -After=paperless-ngx-postgres.service -After=paperless-ngx-redis.service -After=paperless-ngx-tika.service -After=paperless-ngx-gotenberg.service