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

14 lines
309 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
[Service]
ExecStart=/usr/bin/celery worker -A pagure.lib.tasks --loglevel=info
Environment="PAGURE_CONFIG=__FINALPATH__/pagure.cfg"
Type=simple
User=__APP__
Group=__APP__
Restart=on-failure
[Install]
WantedBy=multi-user.target