Update entrypoint

This commit is contained in:
Giuseppe Marino 2020-11-11 01:09:00 +01:00
parent 00165a7ef5
commit 079328dba5
No known key found for this signature in database
GPG Key ID: 2BC70C5463357449

View File

@ -36,6 +36,12 @@ fi
if [ -n "$TELEGRAM_LOCAL" ]; then if [ -n "$TELEGRAM_LOCAL" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --local" CUSTOM_ARGS="${CUSTOM_ARGS} --local"
fi fi
if [ -n "$TELEGRAM_INSECURE" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --insecure"
fi
if [ -n "$TELEGRAM_RELATIVE" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --relative"
fi
COMMAND="telegram-bot-api ${DEFAULT_ARGS}${CUSTOM_ARGS}" COMMAND="telegram-bot-api ${DEFAULT_ARGS}${CUSTOM_ARGS}"