From fa452cc773b4aacd4ecb56900e1f954887dea999 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 19 Jul 2023 18:50:42 +0000 Subject: [PATCH] Update docker bin/admin.sh This patch uses the wsgi.py instead of admin_Web.py --- docker/bin/admin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/bin/admin.sh b/docker/bin/admin.sh index 3fb5235..7709d5d 100755 --- a/docker/bin/admin.sh +++ b/docker/bin/admin.sh @@ -27,5 +27,6 @@ if [ ! -e "$APRSD_CONFIG" ]; then fi export COLUMNS=200 -exec gunicorn -b :8000 --workers 4 "aprsd.admin_web:create_app(config_file='$APRSD_CONFIG', log_level='$LOG_LEVEL')" +#exec gunicorn -b :8000 --workers 4 "aprsd.admin_web:create_app(config_file='$APRSD_CONFIG', log_level='$LOG_LEVEL')" +exec gunicorn -b :8000 --workers 4 "aprsd.wsgi:app" #exec aprsd listen -c $APRSD_CONFIG --loglevel ${LOG_LEVEL} ${APRSD_LOAD_PLUGINS} ${APRSD_LISTEN_FILTER}