Skip to content
Snippets Groups Projects

Bugfix/update script

Merged Sven Wolter requested to merge bugfix/update_script into develop
1 file
+ 2
42
Compare changes
  • Side-by-side
  • Inline
+ 2
42
@@ -237,49 +237,9 @@ finalize_update() {
else
printf "Version update applied.\n\n"
# application_reload --> Seems not to work with liquibase containers!
application_restart()
fi
}
application_reload() {
if command make -v >/dev/null 2>&1; then
read -p "Do you want to reload the application now? [Y/n]:" -er -n 1 RESTART
if [[ ! $RESTART =~ [nN] ]]; then
make production-ramp-up
else
echo 'Update script finished.'
exit 0
fi
else
printf 'You could start the updated docker services now.\n\n'
echo 'Update script finished.'
exit 0
fi
}
application_restart() {
if command make -v >/dev/null 2>&1; then
read -p "Do you want to restart the application now? [Y/n]:" -er -n 1 RESTART
if [[ ! $RESTART =~ [nN] ]]; then
make production-shut-down
make production-ramp-up
else
echo 'Update script finished.'
exit 0
fi
else
printf 'You can restart the docker services now.\n\n'
echo 'Update script finished.'
exit 0
# application_reload --> Seems not to work with liquibase containers!
application_restart
fi
}
# Load current environment variables in .env.prod
Loading