paperless-ngx/scripts/paperless-webserver.service
2021-01-27 19:57:04 +01:00

15 lines
346 B
Desktop File

[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