[Unit] Description=Mayan EDMS slow celery worker After=redis.service postgresql.service mysql.service mariadb.service [Service] User={{ mayan_user }} WorkingDirectory={{ mayan_root_dir }}/ EnvironmentFile={{ mayan_root_dir }}/config/.env ExecStart={{ mayan_root_dir }}/venv/bin/celery worker -A mayan -Ofair -l INFO -Q statistics,tools,common_periodic,parsing,document_states,mailing,ocr -n mayan-worker-slow.%%h --concurrency=1 Nice=19 PrivateTmp=yes ProtectSystem=full ProtectHome=yes NoNewPrivileges=yes MemoryLimit=1024M SyslogIdentifier=mayan-edms-worker-slow Restart=on-failure StartLimitInterval=0 RestartSec=30 [Install] WantedBy=multi-user.target