From c01f684e8c82ae2a58e58737b86dc9a58c897d97 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 12 Jan 2022 15:30:47 +0100 Subject: [PATCH] echo the script and project dor, sleep only 30 sec --- deployment/bare_metal/start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 5bfa6bec2..0b228d3c2 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -2,7 +2,7 @@ # wait for node to properly unref the process(?) # Wait 60 seconds to evaluate ps -x --forest -sleep 60 +sleep 30 # Find current directory & configure paths SCRIPT_PATH=$(realpath $0) @@ -34,6 +34,9 @@ UPDATE_SITE_CONFIG=stage1_updating # Create a new updating.html from the template \cp $SCRIPT_DIR/nginx/update-page/updating.html.template $UPDATE_HTML +echo "SCRIPT_DIR ${SCRIPT_DIR}
" >> $UPDATE_HTML +echo "PROJECT_DIR ${PROJECT_DIR}
" >> $UPDATE_HTML + # configure nginx for the update-page echo 'Configuring nginx to serve the update-page
' >> $UPDATE_HTML rm /etc/nginx/sites-enabled/gradido.conf