chore: clean files using pre-commit
This commit is contained in:
parent
f4dbc584e1
commit
0061e82ecd
81 changed files with 137 additions and 128 deletions
8
deploy/Gentoo/funkwhale_beat
Normal file → Executable file
8
deploy/Gentoo/funkwhale_beat
Normal file → Executable 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue