[Unit] Description=__APP__ service loading JSON files into the DB 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_loadjson Environment="PAGURE_CONFIG=__INSTALL_DIR__/pagure.cfg" Restart=on-failure [Install] WantedBy=multi-user.target