[Unit] Description=Paperless webserver After=network.target Wants=network.target Requires=redis.service [Service] User=paperless Group=paperless Environment=PAPERLESS_CONFIGURATION_PATH=/opt/paperless/paperless.conf WorkingDirectory=/opt/paperless/src/paperless-ngx/src ExecStart=/opt/paperless/venv/bin/gunicorn -c /opt/paperless/src/paperless-ngx/gunicorn.conf.py -b 127.0.0.1:22070 paperless.asgi:application [Install] WantedBy=multi-user.target