#!/usr/bin/with-contenv bash CONFIG_PATH=/config mkdir -p "$CONFIG_PATH" if [ ! -f "$CONFIG_PATH/config.xml" ]; then cat > "$CONFIG_PATH/config.xml" << EOC EOC echo "Config created at $CONFIG_PATH/config.xml" fi if [ -n "$CLI_ARGS" ]; then export CLI_ARGS fi