Skip to content

Commit

Permalink
Update ENTRYPOINT.SH
Browse files Browse the repository at this point in the history
  • Loading branch information
orenlab committed Aug 23, 2024
1 parent 880669b commit 8c9901c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -uef

# (c) Copyright 2024, Denis Rozhnovskiy <[email protected]>
# pyTMBot - A simple Telegram bot to handle Docker containers and images,
Expand Down Expand Up @@ -27,8 +28,8 @@ while [[ $# -gt 0 ]]; do
done

# Set default values if not provided
LOG_LEVEL=${LOG_LEVEL:INFO}
MODE=${MODE:prod}
LOG_LEVEL=${LOG_LEVEL:-INFO}
MODE=${MODE:-prod}
SALT=${SALT:-false}

# Check if --salt was provided
Expand Down

0 comments on commit 8c9901c

Please sign in to comment.