Update paperless-webserver.service

Update `gunicorn` command to use `--pythonpath`
This commit is contained in:
Joshua Taillon 2018-11-16 09:21:07 -05:00 committed by GitHub
parent 597a7bb391
commit 63e2fbe0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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