From 55ce6acb3502ac4e7d351479b140477a206aa88c Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sat, 24 Jan 2015 00:40:41 +0000 Subject: [PATCH] Reduce differences with run.sh . --- rolling_restart.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rolling_restart.sh b/rolling_restart.sh index dab30100d77..eab88fcd380 100755 --- a/rolling_restart.sh +++ b/rolling_restart.sh @@ -1,4 +1,5 @@ #!/bin/sh + cd `dirname $0` check_if_not_started(){ @@ -23,6 +24,15 @@ then . .venv/bin/activate fi +python ./scripts/check_python.py +[ $? -ne 0 ] && exit 1 + +./scripts/common_startup.sh + +if [ -n "$GALAXY_UNIVERSE_CONFIG_DIR" ]; then + python ./scripts/build_universe_config.py "$GALAXY_UNIVERSE_CONFIG_DIR" +fi + if [ -z "$GALAXY_CONFIG_FILE" ]; then if [ -f universe_wsgi.ini ]; then GALAXY_CONFIG_FILE=universe_wsgi.ini