summarylogtreecommitdiffstats
path: root/funkwhale-beat.service
diff options
context:
space:
mode:
Diffstat (limited to 'funkwhale-beat.service')
-rw-r--r--funkwhale-beat.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/funkwhale-beat.service b/funkwhale-beat.service
index d9b36b9c3584..6cacc92e1976 100644
--- a/funkwhale-beat.service
+++ b/funkwhale-beat.service
@@ -5,9 +5,10 @@ PartOf=funkwhale.service
[Service]
User=funkwhale
+WorkingDirectory=/usr/share/webapps/funkwhale/api
# adapt this depending on the path of your funkwhale installation
EnvironmentFile=/srv/funkwhale/config/env
-ExecStart=/usr/bin/celery -A funkwhale_api.taskapp beat -l INFO --workdir=/usr/share/webapps/funkwhale/api --schedule=/srv/funkwhale/api/celerybeat-schedule --pidfile=/srv/funkwhale/api/celerybeat.pid
+ExecStart=/usr/bin/celery --workdir=/usr/share/webapps/funkwhale/api -A funkwhale_api.taskapp beat -l INFO --schedule=/srv/funkwhale/api/celerybeat-schedule --pidfile=/srv/funkwhale/api/celerybeat.pid
[Install]
WantedBy=multi-user.target