[Unit] Description=__APP__ service logging commits into the database After=redis.target Documentation=https://pagure.io/pagure [Service] Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ ExecStart=__INSTALL_DIR__/venv/bin/celery -A pagure.lib.tasks_services worker --loglevel=info -Q pagure_logcom Environment="PAGURE_CONFIG=__INSTALL_DIR__/pagure.cfg" Restart=on-failure [Install] WantedBy=multi-user.target