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

15 lines
376 B
SYSTEMD
Raw Permalink Normal View History

2024-05-15 10:20:52 +02:00
[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