pagure_logcom.service 576 B

12345678910111213141516171819
  1. # This is a systemd's service file for the logcom service, if you change
  2. # the default value of the LOGCOM_CELERY_QUEUE configuration key, do not
  3. # forget to edit it in the ExecStart line below
  4. [Unit]
  5. Description=Pagure service logging commits into the database
  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_logcom -n logcom
  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