Skip to content

Commit

Permalink
Merge pull request #293 from silinternational/fix-config-shim
Browse files Browse the repository at this point in the history
fix config-shim parameters
  • Loading branch information
briskt authored Nov 27, 2024
2 parents 8d021d8 + d8c79e5 commit 71efbbd
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 71efbbd

Please sign in to comment.