Blame files/pagure_loadjson.service

Pierre-Yves Chibon de46b5
# This is a systemd's service file for the loadjson service, if you change
Pierre-Yves Chibon de46b5
# the default value of the LOADJSON_CELERY_QUEUE configuration key, do not
Pierre-Yves Chibon de46b5
# forget to edit it in the ExecStart line below
Pierre-Yves Chibon de46b5
Pierre-Yves Chibon c82b71
[Unit]
Pierre-Yves Chibon c82b71
Description=Pagure service loading JSON files into the DB
Pierre-Yves Chibon c82b71
After=redis.target
Pierre-Yves Chibon c82b71
Documentation=https://pagure.io/pagure
Pierre-Yves Chibon c82b71
Pierre-Yves Chibon c82b71
[Service]
Pierre-Yves Chibon de46b5
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_services --loglevel=info -Q pagure_loadjson
Pierre-Yves Chibon de46b5
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Pierre-Yves Chibon c82b71
Type=simple
Pierre-Yves Chibon c82b71
User=git
Pierre-Yves Chibon c82b71
Group=git
Pierre-Yves Chibon c82b71
Restart=on-failure
Pierre-Yves Chibon c82b71
Pierre-Yves Chibon c82b71
[Install]
Pierre-Yves Chibon c82b71
WantedBy=multi-user.target