Blame files/pagure_gitolite_worker.service
|
Pierre-Yves Chibon |
56e29f |
[Unit]
|
|
Pierre-Yves Chibon |
56e29f |
Description=Pagure worker for backend git interaction
|
|
Pierre-Yves Chibon |
56e29f |
After=redis.target
|
|
Pierre-Yves Chibon |
56e29f |
Documentation=https://pagure.io/pagure
|
|
Pierre-Yves Chibon |
56e29f |
|
|
Pierre-Yves Chibon |
56e29f |
[Service]
|
|
Pierre-Yves Chibon |
56e29f |
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks --loglevel=info --autoreload -c 1 -Q gitolite_queue
|
|
Pierre-Yves Chibon |
56e29f |
Environment="PAGURE_CONFIG=/etc/pagure/pagure.cfg"
|
|
Pierre-Yves Chibon |
56e29f |
Type=simple
|
|
Pierre-Yves Chibon |
56e29f |
User=git
|
|
Pierre-Yves Chibon |
56e29f |
Group=git
|
|
Pierre-Yves Chibon |
56e29f |
Restart=on-failure
|
|
Pierre-Yves Chibon |
56e29f |
|
|
Pierre-Yves Chibon |
56e29f |
[Install]
|
|
Pierre-Yves Chibon |
56e29f |
WantedBy=multi-user.target
|