Update docker-entrypoint.sh

This commit is contained in:
SMAZNet 2021-08-15 00:31:56 +04:30 committed by GitHub
parent 1cb53b2d55
commit 2dfc3f3ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ DEFAULT_ARGS="--http-port 8081 --dir=${TELEGRAM_WORK_DIR} --temp-dir=${TELEGRAM_
CUSTOM_ARGS="" CUSTOM_ARGS=""
if [ -n "$TELEGRAM_STAT" ]; then if [ -n "$TELEGRAM_STAT" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-port=$TELEGRAM_STAT" CUSTOM_ARGS="${CUSTOM_ARGS} --http-stat-port=8082"
fi fi
if [ -n "$TELEGRAM_STAT_HOST" ]; then if [ -n "$TELEGRAM_STAT_HOST" ]; then