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_worker.service

17 lines
395 B
SYSTEMD
Raw Normal View History

2018-05-20 23:57:36 +02:00
[Unit]
Description=__APP__ worker for backend git interaction
After=redis.target
2022-02-27 16:11:02 +01:00
Documentation=https://pagure.io/pagure
2018-05-20 23:57:36 +02:00
[Service]
Type=simple
User=__APP__
Group=__APP__
2022-02-27 16:11:02 +01:00
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/venv/bin/celery -A pagure.lib.tasks worker --loglevel=info
Environment="PAGURE_CONFIG=__FINALPATH__/pagure.cfg"
2018-05-20 23:57:36 +02:00
Restart=on-failure
[Install]
2018-09-27 23:33:34 +02:00
WantedBy=multi-user.target