From 422edeceb60c1898905a8119cbcce262f3b91b58 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 10 Apr 2015 18:13:05 +0200 Subject: run-local.sh: take DOMAIN from environment --- run-local.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run-local.sh b/run-local.sh index f98cfd21..570d0c3d 100755 --- a/run-local.sh +++ b/run-local.sh @@ -6,7 +6,12 @@ quit_if_no_neo4j_running CONFIG=res/etc/rhizi-server.conf EXAMPLE=res/etc/rhizi-server.conf.example HTPASSWD=res/etc/htpasswd -DOMAIN=cri.rhizi.net +if [ "x$DOMAIN" == "x" ]; then + echo using default domain + DOMAIN=default.rhizi.net +else + echo using $DOMAIN domain +fi if [ ! -f $CONFIG ]; then echo "copying $EXAMPLE to $CONF" echo "please edit it as you see fit" -- cgit v1.3.1