mirror of
https://github.com/YunoHost-Apps/pagure_ynh.git
synced 2024-09-03 19:56:19 +02:00
17 lines
447 B
SYSTEMD
17 lines
447 B
SYSTEMD
|
[Unit]
|
||
|
Description=__APP__ service mirroring projects outside of pagure that asked for it
|
||
|
After=redis.target
|
||
|
Documentation=https://pagure.io/pagure
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__/
|
||
|
ExecStart=__FINALPATH__/venv/bin/celery -A pagure.lib.tasks_mirror worker --loglevel=info -Q pagure_mirror
|
||
|
Environment="PAGURE_CONFIG=__FINALPATH__/pagure.cfg"
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|