From 6ea9cc39a9bf1079756ae6ae4e71e2f44600f4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus-Peter=20H=C3=BCbner?= Date: Wed, 1 Mar 2023 00:34:44 +0100 Subject: [PATCH] small changes --- deployment/bare_metal/start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 374cfeacc..0ede8cbff 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -61,6 +61,7 @@ sudo /etc/init.d/nginx restart # stop all services echo 'Stopping and Delete all Gradido services' >> $UPDATE_HTML pm2 delete all +pm2 save # git BRANCH=${1:-master} @@ -75,7 +76,7 @@ export BUILD_COMMIT="$(git rev-parse HEAD)" # Generate gradido.conf from template # *** 1st prepare for each apiversion the federation conf for nginx from federation-template # *** set FEDERATION_PORT from FEDERATION_COMMUNITY_APIS and create gradido-federation.conf file -rm $NGINX_CONFIG_DIR/gradido-federation.conf +rm -f $NGINX_CONFIG_DIR/gradido-federation.conf echo "====================================================================================================" IFS="," read -a API_ARRAY <<< $FEDERATION_COMMUNITY_APIS for api in "${API_ARRAY[@]}"