bundlewrap/bundles/paperless-ng/files/paperless-webserver.service

16 lines
451 B
SYSTEMD
Raw Normal View History

2021-05-23 15:41:19 +00:00
[Unit]
Description=Paperless webserver
After=network.target
Wants=network.target
Requires=redis.service
[Service]
User=paperless
Group=paperless
2023-12-07 20:07:33 +00:00
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
2021-05-23 15:41:19 +00:00
[Install]
WantedBy=multi-user.target