1
0

pagure_loadjson.service 582 B

12345678910111213141516171819
  1. # This is a systemd's service file for the loadjson service, if you change
  2. # the default value of the LOADJSON_CELERY_QUEUE configuration key, do not
  3. # forget to edit it in the ExecStart line below
  4. [Unit]
  5. Description=Pagure service loading JSON files into the DB
  6. After=redis.target
  7. Documentation=https://pagure.io/pagure
  8. [Service]
  9. ExecStart=/usr/bin/celery -A pagure.lib.tasks_services worker --loglevel=INFO -Q pagure_loadjson -n load_json
  10. Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
  11. Type=simple
  12. User=git
  13. Group=git
  14. Restart=on-failure
  15. [Install]
  16. WantedBy=multi-user.target