mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
echo the script and project dor, sleep only 30 sec
This commit is contained in:
parent
ba88160735
commit
c01f684e8c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# wait for node to properly unref the process(?)
|
# wait for node to properly unref the process(?)
|
||||||
# Wait 60 seconds to evaluate ps -x --forest
|
# Wait 60 seconds to evaluate ps -x --forest
|
||||||
sleep 60
|
sleep 30
|
||||||
|
|
||||||
# Find current directory & configure paths
|
# Find current directory & configure paths
|
||||||
SCRIPT_PATH=$(realpath $0)
|
SCRIPT_PATH=$(realpath $0)
|
||||||
@ -34,6 +34,9 @@ UPDATE_SITE_CONFIG=stage1_updating
|
|||||||
# Create a new updating.html from the template
|
# Create a new updating.html from the template
|
||||||
\cp $SCRIPT_DIR/nginx/update-page/updating.html.template $UPDATE_HTML
|
\cp $SCRIPT_DIR/nginx/update-page/updating.html.template $UPDATE_HTML
|
||||||
|
|
||||||
|
echo "SCRIPT_DIR ${SCRIPT_DIR}<br>" >> $UPDATE_HTML
|
||||||
|
echo "PROJECT_DIR ${PROJECT_DIR}<br>" >> $UPDATE_HTML
|
||||||
|
|
||||||
# configure nginx for the update-page
|
# configure nginx for the update-page
|
||||||
echo 'Configuring nginx to serve the update-page<br>' >> $UPDATE_HTML
|
echo 'Configuring nginx to serve the update-page<br>' >> $UPDATE_HTML
|
||||||
rm /etc/nginx/sites-enabled/gradido.conf
|
rm /etc/nginx/sites-enabled/gradido.conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user