Blame files/pagure_webhook.service

Pierre-Yves Chibon de46b5
# This is a systemd's service file for the logcom service, if you change
Pierre-Yves Chibon de46b5
# the default value of the WEBHOOK_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 19bdd7
[Unit]
Pierre-Yves Chibon de46b5
Description=Pagure service sending web-hook notifications
Pierre-Yves Chibon 19bdd7
After=redis.target
Pierre-Yves Chibon 19bdd7
Documentation=https://pagure.io/pagure
Pierre-Yves Chibon 19bdd7
Pierre-Yves Chibon 19bdd7
[Service]
Pierre-Yves Chibon de46b5
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_services --loglevel=info -Q pagure_webhook
Pierre-Yves Chibon de46b5
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Pierre-Yves Chibon 19bdd7
Type=simple
Pierre-Yves Chibon 19bdd7
User=git
Pierre-Yves Chibon 19bdd7
Group=git
Pierre-Yves Chibon 19bdd7
Restart=on-failure
Pierre-Yves Chibon 19bdd7
Pierre-Yves Chibon 19bdd7
[Install]
Pierre-Yves Chibon 19bdd7
WantedBy=multi-user.target