Skip to content

Commit efb193e

Browse files
committed
Update fEVR startup script
Found s6 run script for fEVR was using flask dev server no matter the setting used.
1 parent dd721c4 commit efb193e

File tree

1 file changed

+1
-1
lines changed
  • rootfs/etc/services.d/fevr

1 file changed

+1
-1
lines changed

rootfs/etc/services.d/fevr/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ FEVR_PORT=${FEVR_PORT:-5090}
3131
UWSGI_WORKERS=${UWSGI_WORKERS:-4}
3232
echo "Starting fEVR on $FEVR_HOST:$FEVR_PORT with $UWSGI_WORKERS workers."
3333
FEVR_DEVELOPMENT=${FEVR_DEVELOPMENT}
34-
if [ $FEVR_DEVELOPMENT="true" ]; then
34+
if [ "$FEVR_DEVELOPMENT" == "true" ]; then
3535
export FLASK_ENV='development'
3636
/fevr/venv/bin/flask run -h "0.0.0.0" -p $FEVR_PORT
3737
else

0 commit comments

Comments
 (0)