From 55dd5038c795e7484c55930402dc064d349fb681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus-Peter=20H=C3=BCbner?= Date: Thu, 2 Mar 2023 01:47:34 +0100 Subject: [PATCH] remove echo outputs --- deployment/bare_metal/start.sh | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 28f259d27..d82bcbe9b 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -106,11 +106,9 @@ case "$NGINX_SSL" in esac envsubst '$FEDERATION_NGINX_CONF' < $NGINX_CONFIG_DIR/$TEMPLATE_FILE > $NGINX_CONFIG_DIR/gradido.conf.tmp export FEDERATION_NGINX_CONF= -# echo "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" -echo "$(env)" envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/gradido.conf.tmp > $NGINX_CONFIG_DIR/gradido.conf -# rm $NGINX_CONFIG_DIR/gradido.conf.tmp -# rm $NGINX_CONFIG_DIR/gradido-federation.conf +rm $NGINX_CONFIG_DIR/gradido.conf.tmp +rm $NGINX_CONFIG_DIR/gradido-federation.conf # Generate update-page.conf from template echo 'Generate new update-page nginx config' >> $UPDATE_HTML @@ -217,18 +215,6 @@ yarn install yarn build # TODO maybe handle this differently? export NODE_ENV=production -# # first remove previous pm2 gradido-federation processes from list -# pm2 ls -m | grep "+--- gradido-federation" | tr '\n' ',' | sed -e 's/+---//g' > proc.list -# IFS="," read -a PROCESS_ARRAY < proc.list -# for proc in "${PROCESS_ARRAY[@]}" -# do -# echo "---> delete process $proc" -# pm2 delete $proc -# done -# pm2 save -# rm proc.list -# echo "finished removeing previous gradido-federation processes from pm2" -# echo # set FEDERATION_PORT from FEDERATION_COMMUNITY_APIS IFS="," read -a API_ARRAY <<< $FEDERATION_COMMUNITY_APIS