Update paperless-webserver.service

Update `gunicorn` command to use `--pythonpath`
This commit is contained in:
Joshua Taillon authored and GitHub committed 2018-11-16 09:21:07 -05:00
1 parent 597a7bb391
commit 63e2fbe0c9
1 file changed
+1 -1
+1 -1
View File
@@ -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