mirror of
https://github.com/YunoHost-Apps/pagure_ynh.git
synced 2024-09-03 19:56:19 +02:00
16 lines
433 B
Desktop File
16 lines
433 B
Desktop File
[Unit]
|
|
Description=__APP__ service loading JSON files into the DB
|
|
After=redis.target
|
|
Documentation=https://pagure.io/pagure
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
ExecStart=__INSTALL_DIR__/venv/bin/celery -A pagure.lib.tasks_services worker --loglevel=info -Q pagure_loadjson
|
|
Environment="PAGURE_CONFIG=__INSTALL_DIR__/pagure.cfg"
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|