Reduce differences with run.sh .

This commit is contained in:
Nicola Soranzo
2015-01-24 00:40:41 +00:00
parent 1343a2ea61
commit 55ce6acb35
+10
View File
@@ -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