From e47168b7964e063ede4baf6e5a621c298fb5e8f0 Mon Sep 17 00:00:00 2001 From: Gyurix Date: Fri, 13 Sep 2024 12:11:47 +0200 Subject: [PATCH] LOCAL_BACKEND --- scripts/scheduler/install.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/scheduler/install.sh b/scripts/scheduler/install.sh index 2be7698..aa4b718 100755 --- a/scripts/scheduler/install.sh +++ b/scripts/scheduler/install.sh @@ -219,10 +219,8 @@ if [ "$INIT" == "true" ]; then echo "$INIT_SERVICE_PATH/firewall-smarthost-to-backend.json" >> $AUTO_START_SERVICES/.init_services echo "$INIT_SERVICE_PATH/smarthost-proxy-scheduler.json" >> $AUTO_START_SERVICES/.init_services echo "$INIT_SERVICE_PATH/local-proxy.json" >> $AUTO_START_SERVICES/.init_services - - echo "Would you like to run local backend? (Y/n)"; - read -r ANSWER; - if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ] ; then + + if [ "$LOCAL_BACKEND" == "yes" ]; then $SERVICE_EXEC local-backend start echo "$INIT_SERVICE_PATH/local-backend.json" >> $AUTO_START_SERVICES/.init_services echo "$INIT_SERVICE_PATH/firewall-local-backend.json" >> $AUTO_START_SERVICES/.init_services @@ -232,11 +230,12 @@ if [ "$INIT" == "true" ]; then fi; +ADDITIONALS=""; # COMMENT +ADDITIONAL_SERVICES=""; + # install additionals - run installer-tool again but additional_install.sh instead of deploy.sh if [ "$ADDITIONALS" == "yes" ]; then - ADDITIONAL_SERVICES=""; - if [ "$NEXTCLOUD" == "yes" ]; then VAR_NEXTCLOUD="--env NEXTCLOUD=$NEXTCLOUD"; VAR_NEXTCLOUD="$VAR_NEXTCLOUD --env NEXTCLOUD_DOMAIN=$NEXTCLOUD_DOMAIN";