From 63e2fbe0c946ec7ecd84c1c05b1cf88888707b0d Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Fri, 16 Nov 2018 09:21:07 -0500 Subject: [PATCH] Update paperless-webserver.service Update `gunicorn` command to use `--pythonpath` --- scripts/paperless-webserver.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/paperless-webserver.service b/scripts/paperless-webserver.service index 6bc986cdd..771b8301f 100644 --- a/scripts/paperless-webserver.service +++ b/scripts/paperless-webserver.service @@ -4,7 +4,7 @@ Description=Paperless webserver [Service] User=paperless Group=paperless -ExecStart=/home/paperless/project/virtualenv/bin/gunicorn /home/paperless/project/src/paperless.wsgi -w 2 +ExecStart=/home/paperless/project/virtualenv/bin/gunicorn --pythonpath=/home/paperless/project/src paperless.wsgi -w 2 [Install] WantedBy=multi-user.target