summarylogtreecommitdiffstats
path: root/funkwhale-beat.service
diff options
context:
space:
mode:
authorgetzze2020-11-22 00:29:38 +0000
committergetzze2020-11-22 00:29:38 +0000
commitafed117ea611f83dd8bcacb6dc423c8446cb0f54 (patch)
treebb98fe9208e62c4d0920e1b28f97eeb447a254bf /funkwhale-beat.service
parentf50b428b892ba20db1a958c671de300154c10de2 (diff)
downloadaur-afed117ea611f83dd8bcacb6dc423c8446cb0f54.tar.gz
bug with celery5 and workdir
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