Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
506 B

[Unit]
Description=Paperless consumer
After=redis.service postgresql.service
[Service]
User={{ paperless_user }}
Group={{ paperless_user }}
WorkingDirectory={{ paperless_root_dir }}/app/src
ExecStart={{ paperless_root_dir }}/venv/bin/python3 manage.py document_consumer
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes
MemoryLimit=200M
SyslogIdentifier=paperless-scheduler
Restart=on-failure
StartLimitInterval=0
RestartSec=30
[Install]
WantedBy=multi-user.target