[Unit] Description=Paperless webserver After=network.target Wants=network.target Requires=redis.service [Service] User=paperless Group=paperless WorkingDirectory=/opt/paperless/src ExecStart=/opt/paperless/.local/bin/gunicorn paperless.asgi:application -w 2 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 [Install] WantedBy=multi-user.target