chore: clean files using pre-commit

This commit is contained in:
jo 2022-11-18 22:12:21 +01:00 committed by Marge Me
commit 0061e82ecd
81 changed files with 137 additions and 128 deletions

8
deploy/Gentoo/funkwhale_beat Normal file → Executable file
View file

@ -2,18 +2,18 @@
NAME=funkwhalebeat
PIDFILE=/var/run/$NAME.pid
USER=funkwhale
WORKDIR=/srv/funkwhale/api
Celery=/srv/funkwhale/virtualenv/bin/celery
WORKDIR=/srv/funkwhale/api
Celery=/srv/funkwhale/virtualenv/bin/celery
BEAT_ARGS="-A funkwhale_api.taskapp beat -l INFO"
depend() {
need net
need net
}
start() {
ebegin "Starting Funkwhale Beat"
cd /srv/funkwhale/api
set -a && source /srv/funkwhale/config/.env && set +a
echo ' start beat'
echo ' start beat'
start-stop-daemon --start --user $USER --make-pidfile --pidfile $PIDFILE -d $WORKDIR --exec $Celery -- $BEAT_ARGS >> /var/log/funk/worker.log 2>&1&
echo 'Started Beat'
echo