Skip to content

Commit

Permalink
Disable debug of configure script
Browse files Browse the repository at this point in the history
+ some sensible execution behaviour
  • Loading branch information
dantefromhell authored Dec 18, 2023
1 parent 76cac12 commit e802453
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions base/docker-entrypoint.d/95-configure-humhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
# This script reads configuration options for a file provided via environment variable
# HUMHUB_CONFIG_FILE and applies the settings sequentially to this container during startup.

#TODO: Disable when mature
set -x
# Stop script execution on weird shell conditions.
set -o errexit -o pipefail -o nounset

# Allow debugging this shell script by setting a shell variable called
# "TRACE" to value "1".
if [ "${TRACE:-0}" = "1" ]; then
set -o xtrace
fi

echo "START === Configuring HumHub options"
CONFIG_FILE="${HUMHUB_CONFIG_FILE:-none}"
Expand Down

0 comments on commit e802453

Please sign in to comment.