# This is a systemd's service file for the logcom service, if you change
# the default value of the WEBHOOK_CELERY_QUEUE configuration key, do not
# forget to edit it in the ExecStart line below

[Unit]
Description=Pagure service sending web-hook notifications
After=redis.target
Documentation=https://pagure.io/pagure

[Service]
ExecStart=/usr/bin/celery -A pagure.lib.tasks_services worker --loglevel=INFO -Q pagure_webhook -n webhook
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Type=simple
User=git
Group=git
Restart=on-failure

[Install]
WantedBy=multi-user.target
