1
0

pagure_mirror.service 590 B

12345678910111213141516171819
  1. # This is a systemd's service file for the mirroring service, if you change
  2. # the default value of the CI_CELERY_QUEUE configuration key, do not
  3. # forget to edit it in the ExecStart line below
  4. [Unit]
  5. Description=Pagure service mirroring projects outside of pagure that asked for it
  6. After=redis.target
  7. Documentation=https://pagure.io/pagure
  8. [Service]
  9. ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_mirror --loglevel=info -Q pagure_mirror
  10. Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
  11. Type=simple
  12. User=mirror
  13. Group=mirror
  14. Restart=on-failure
  15. [Install]
  16. WantedBy=multi-user.target