diff --git a/docs/setup.rst b/docs/setup.rst index bb8ac4018..e86fe9efe 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -366,7 +366,7 @@ The gunicorn server can be started with the command: .. code-block:: shell - $ /bin/gunicorn /src/paperless.wsgi -w 2 + $ /bin/gunicorn --pythonpath=/src paperless.wsgi -w 2 .. _setup-permanent-standard-systemd: @@ -423,7 +423,7 @@ after restarting your system: respawn limit 10 5 script - exec /bin/gunicorn /src/paperless.wsgi -w 2 + exec /bin/gunicorn --pythonpath=/src paperless.wsgi -w 2 end script Note that you'll need to replace ``/srv/paperless/src/manage.py`` with the