From 3cc463b2c348bc1909df94d7322a626fd97c79d9 Mon Sep 17 00:00:00 2001 From: benjaminfrank Date: Wed, 16 Jun 2021 23:03:28 +0200 Subject: [PATCH] add section --- docs/setup.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/setup.rst b/docs/setup.rst index 5a84ec1c8..3c9ff4e1a 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -408,9 +408,12 @@ writing. Windows is not and will never be supported. Paperless needs the ``webserver`` script to run the webserver, the ``consumer`` script to watch the input folder, and the ``scheduler`` script to run tasks such as email checking and document consumption. + The ``socket`` script enables ``gunicorn`` to run on port 80 without root privileges. For this you need to uncomment the ``Require=paperless-webserver.socket`` - in the ``webserver`` script and configure ``gunicorn`` to listen on port 80 (see ``paperless/gunicorn.conf.py``). + in the ``webserver`` script and configure ``gunicorn`` to listen on port 80 (see + +``paperless/gunicorn.conf.py``). You may need to adjust the path to the ``gunicorn`` executable. This will be installed as part of the python dependencies, and is either located in the ``bin`` folder of your virtual environment, or in ``~/.local/bin/`` if