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

17 lines
414 B
SYSTEMD
Raw Permalink Normal View History

2023-12-07 20:07:33 +00:00
[Unit]
Description=Paperless task queue
Requires=redis.service
[Service]
User=paperless
Group=paperless
Environment=PAPERLESS_CONFIGURATION_PATH=/opt/paperless/paperless.conf
WorkingDirectory=/opt/paperless/src/paperless-ngx/src
ExecStart=/opt/paperless/venv/bin/celery --app paperless worker --loglevel INFO
2024-03-04 20:20:39 +00:00
Restart=always
RestartSec=10
SyslogIdentifier=paperless-taskqueue
2023-12-07 20:07:33 +00:00
[Install]
WantedBy=multi-user.target