From 5b29503d9c1507fb0806f16b8c96e3e23c15cf8f Mon Sep 17 00:00:00 2001 From: Marco Aceti Date: Thu, 12 Nov 2020 23:45:30 +0100 Subject: [PATCH] Add TELEGRAM_NO_FILE_LIMIT env variable --- docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index db14d10..c1ba83b 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -36,6 +36,9 @@ fi if [ -n "$TELEGRAM_LOCAL" ]; then CUSTOM_ARGS="${CUSTOM_ARGS} --local" fi +if [ -n "$TELEGRAM_NO_FILE_LIMIT" ]; then + CUSTOM_ARGS="${CUSTOM_ARGS} --no-file-limit" +fi if [ -n "$TELEGRAM_INSECURE" ]; then CUSTOM_ARGS="${CUSTOM_ARGS} --insecure" fi