From ad8800281b8d8e57994b5039fb38590e51dffa87 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Sat, 4 Nov 2023 18:29:29 -0400 Subject: [PATCH] set autodeploy-enabled=true for ENABLE_RELOAD #10099 --- .../main/docker/scripts/init_1_generate_devmode_commands.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/container-base/src/main/docker/scripts/init_1_generate_devmode_commands.sh b/modules/container-base/src/main/docker/scripts/init_1_generate_devmode_commands.sh index bb0984332f7..c55c3d1a1ee 100644 --- a/modules/container-base/src/main/docker/scripts/init_1_generate_devmode_commands.sh +++ b/modules/container-base/src/main/docker/scripts/init_1_generate_devmode_commands.sh @@ -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 @@ -65,4 +66,4 @@ mv "${TMP_PREBOOT}" "${PREBOOT_COMMANDS}" echo "DEBUG: preboot contains the following commands:" echo "--------------------------------------------------" cat "${PREBOOT_COMMANDS}" -echo "--------------------------------------------------" \ No newline at end of file +echo "--------------------------------------------------"