chore: fix shell scripts lint errors
This commit is contained in:
parent
5c919989ea
commit
d47fef0806
23 changed files with 359 additions and 228 deletions
|
|
@ -1,4 +1,13 @@
|
|||
#!/bin/bash -eux
|
||||
python /app/manage.py collectstatic --noinput
|
||||
python /app/manage.py migrate
|
||||
gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS-1} -k uvicorn.workers.UvicornWorker -b 0.0.0.0:5000 ${GUNICORN_ARGS-}
|
||||
#!/bin/sh
|
||||
|
||||
set -eux
|
||||
|
||||
python3 /app/manage.py collectstatic --noinput
|
||||
python3 /app/manage.py migrate
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
gunicorn config.asgi:application \
|
||||
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
|
||||
--worker-class uvicorn.workers.UvicornWorker \
|
||||
--bind 0.0.0.0:5000 \
|
||||
${GUNICORN_ARGS-}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue