[Unit] Description={{ description }} [Service] EnvironmentFile=-/etc/default/{{ appname }} ExecStart={{ checkout }}/.venv/bin/celery --app="{{ celery_module }}" worker --queues="{{ amqpname }}" --task-events --concurrency=1 --loglevel=INFO Restart=on-failure User={{ app_user }} WorkingDirectory={{ checkout }}/{{ appname }} [Install] WantedBy=multi-user.target