Blame files/pagure_mirror.service

Pierre-Yves Chibon dccd88
# This is a systemd's service file for the mirroring service, if you change
Pierre-Yves Chibon dccd88
# the default value of the CI_CELERY_QUEUE configuration key, do not
Pierre-Yves Chibon dccd88
# forget to edit it in the ExecStart line below
Pierre-Yves Chibon dccd88
Pierre-Yves Chibon dccd88
[Unit]
Pierre-Yves Chibon dccd88
Description=Pagure service mirroring projects outside of pagure that asked for it
Pierre-Yves Chibon dccd88
After=redis.target
Pierre-Yves Chibon dccd88
Documentation=https://pagure.io/pagure
Pierre-Yves Chibon dccd88
Pierre-Yves Chibon dccd88
[Service]
Pierre-Yves Chibon dccd88
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks_mirror --loglevel=info -Q pagure_mirror
Pierre-Yves Chibon dccd88
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Pierre-Yves Chibon dccd88
Type=simple
Pierre-Yves Chibon dccd88
User=mirror
Pierre-Yves Chibon dccd88
Group=mirror
Pierre-Yves Chibon dccd88
Restart=on-failure
Pierre-Yves Chibon dccd88
Pierre-Yves Chibon dccd88
[Install]
Pierre-Yves Chibon dccd88
WantedBy=multi-user.target