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

17 lines
400 B
SYSTEMD
Raw Normal View History

2021-05-23 15:41:19 +00:00
[Unit]
Description=Paperless consumer
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
2021-05-23 15:41:19 +00:00
ExecStart=/opt/paperless/venv/bin/python manage.py document_consumer
2024-03-04 20:20:39 +00:00
Restart=always
RestartSec=10
SyslogIdentifier=paperless-consumer
2021-05-23 15:41:19 +00:00
[Install]
WantedBy=multi-user.target