pagure_webhook.service 565 B

12345678910111213141516171819
  1. # This is a systemd's service file for the logcom service, if you change
  2. # the default value of the WEBHOOK_CELERY_QUEUE configuration key, do not
  3. # forget to edit it in the ExecStart line below
  4. [Unit]
  5. Description=Pagure service sending web-hook notifications
  6. After=redis.target
  7. Documentation=https://pagure.io/pagure
  8. [Service]
  9. ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_services --loglevel=info -Q pagure_webhook
  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