Blame files/pagure_logcom.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 LOGCOM_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 3e603f
[Unit]
Pierre-Yves Chibon de46b5
Description=Pagure service logging commits into the database
Pierre-Yves Chibon 3e603f
After=redis.target
Pierre-Yves Chibon 3e603f
Documentation=https://pagure.io/pagure
Pierre-Yves Chibon 3e603f
Pierre-Yves Chibon 3e603f
[Service]
Pierre-Yves Chibon de46b5
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_services --loglevel=info -Q pagure_logcom
Pierre-Yves Chibon de46b5
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Pierre-Yves Chibon 3e603f
Type=simple
Pierre-Yves Chibon 3e603f
User=git
Pierre-Yves Chibon 3e603f
Group=git
Pierre-Yves Chibon 3e603f
Restart=on-failure
Pierre-Yves Chibon 3e603f
Pierre-Yves Chibon 3e603f
[Install]
Pierre-Yves Chibon 3e603f
WantedBy=multi-user.target