debmaker/ressources/paperless-ngx/paperless-consumer.service

15 lines
376 B
Desktop File

[Unit]
Description=Paperless consumer
#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/python3 manage.py document_consumer
[Install]
WantedBy=multi-user.target