summarylogtreecommitdiffstats
path: root/funkwhale-beat.service
diff options
context:
space:
mode:
Diffstat (limited to 'funkwhale-beat.service')
-rw-r--r--funkwhale-beat.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/funkwhale-beat.service b/funkwhale-beat.service
new file mode 100644
index 000000000000..d9b36b9c3584
--- /dev/null
+++ b/funkwhale-beat.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Funkwhale celery beat process
+After=redis.service postgresql.service
+PartOf=funkwhale.service
+
+[Service]
+User=funkwhale
+# 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
+
+[Install]
+WantedBy=multi-user.target