[Unit]
Description=Funkwhale celery beat process
After=redis.service postgresql.service
PartOf=funkwhale.target

[Service]
User=funkwhale
# adapt this depending on the path of your funkwhale installation
WorkingDirectory=/srv/funkwhale/api
EnvironmentFile=/srv/funkwhale/config/.env

ExecStart=/srv/funkwhale/venv/bin/celery \
    --app funkwhale_api.taskapp \
    beat \
    --loglevel INFO

[Install]
WantedBy=multi-user.target
