1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pagure_ynh.git synced 2024-09-03 19:56:19 +02:00
pagure_ynh/conf/pagure_gitolite_worker.service

17 lines
428 B
SYSTEMD
Raw Normal View History

2022-02-27 16:11:02 +01:00
[Unit]
Description=__APP__ service sending web-hook notifications
After=redis.target
Documentation=https://pagure.io/pagure
[Service]
Type=simple
User=__APP__
Group=__APP__
2024-03-15 23:27:46 +01:00
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/venv/bin/celery -A pagure.lib.tasks worker --loglevel=info -c 1 -Q gitolite_queue
Environment="PAGURE_CONFIG=__INSTALL_DIR__/pagure.cfg"
2022-02-27 16:11:02 +01:00
Restart=on-failure
[Install]
WantedBy=multi-user.target