debmaker/ressources/paperless-ngx/paperless-task-queue.service

15 lines
393 B
Desktop File

[Unit]
Description=Paperless Celery Workers
#Requires=redis.service
[Service]
User=paperless-ngx
Group=paperless-ngx
EnvironmentFile=/etc/default/paperless-ngx
WorkingDirectory=/usr/share/paperless-ngx/src
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
ExecStart=/var/cache/paperless-ngx/python-venv/bin/celery --app paperless worker --loglevel INFO
[Install]
WantedBy=multi-user.target