Skip to content

Commit

Permalink
set autodeploy-enabled=true for ENABLE_RELOAD #10099
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Nov 4, 2023
1 parent 8c2be4e commit e561d0a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fi
if [ "${ENABLE_RELOAD}" = "1" ]; then
echo "Enabling hot reload of deployments."
echo "set configs.config.server-config.admin-service.das-config.dynamic-reload-enabled=true" >> "${DV_PREBOOT}"
echo "set configs.config.server-config.admin-service.das-config.autodeploy-enabled=true" >> "${DV_PREBOOT}"
fi

# 4. Add the commands to the existing preboot file, but insert BEFORE deployment
Expand All @@ -65,4 +66,4 @@ mv "${TMP_PREBOOT}" "${PREBOOT_COMMANDS}"
echo "DEBUG: preboot contains the following commands:"
echo "--------------------------------------------------"
cat "${PREBOOT_COMMANDS}"
echo "--------------------------------------------------"
echo "--------------------------------------------------"

0 comments on commit e561d0a

Please sign in to comment.