14 lines
348 B
SYSTEMD
14 lines
348 B
SYSTEMD
|
[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
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|