mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
14 lines
408 B
SYSTEMD
14 lines
408 B
SYSTEMD
|
[Unit]
|
||
|
Description=Funkwhale (__APP__) celery beat process
|
||
|
After=redis.service postgresql.service
|
||
|
PartOf=__APP__.target
|
||
|
|
||
|
[Service]
|
||
|
User=__APP__
|
||
|
# adapt this depending on the path of your funkwhale installation
|
||
|
WorkingDirectory=__FINALPATH__/api
|
||
|
EnvironmentFile=__FINALPATH__/config/.env
|
||
|
ExecStart=__FINALPATH__/virtualenv/bin/celery -A funkwhale_api.taskapp beat -l INFO
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|