ansible/roles/pagure/files/pagure_fast_worker.service

16 lines
350 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Pagure worker for backend git interaction
After=redis.target
Documentation=https://pagure.io/pagure
[Service]
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks --loglevel=info -Q fast_workers -c 5
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
Type=simple
User=git
Restart=on-failure
[Install]
WantedBy=multi-user.target