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

19 lines
517 B
SYSTEMD
Raw Permalink 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
2024-03-04 20:20:39 +00:00
Restart=always
RestartSec=10
SyslogIdentifier=paperless-webserver
2021-05-23 15:41:19 +00:00
[Install]
WantedBy=multi-user.target