Skip to content

Commit

Permalink
fix config-shim parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt authored Nov 27, 2024
1 parent 8d021d8 commit d8c79e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dockerbuild/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ php -v | head -n 1
if [[ -z "${APP_ID}" ]]; then
apache2ctl -k start -D FOREGROUND
else
config-shim -u --strategy $STRATEGY_ID --app $APP_ID --config $CONFIG_ID --env $ENV_ID apache2ctl -k start -D FOREGROUND
if [[ -z "${STRATEGY_ID}" ]]; then
config-shim --app $APP_ID --config $CONFIG_ID --env $ENV_ID apache2ctl -k start -D FOREGROUND
else
config-shim -u --strategy $STRATEGY_ID --app $APP_ID --config $CONFIG_ID --env $ENV_ID apache2ctl -k start -D FOREGROUND
fi
fi

# endless loop with a wait is needed for the trap to work
Expand Down

0 comments on commit d8c79e5

Please sign in to comment.