Merge "Fix missing rest script" into dev/ramcloud-new-datamodel
diff --git a/start-rest.sh b/start-rest.sh
index 94bbd46..a79a415 100755
--- a/start-rest.sh
+++ b/start-rest.sh
@@ -1,13 +1,13 @@
#! /bin/bash
# Change this accordingly
-ONOSDIR=${HOME}/ONOS
+ONOSDIR=${ONOS_HOME:-${HOME}/ONOS}
script_name="topology_rest.py"
#######################
WEBDIR=${ONOSDIR}/web
restscript=${WEBDIR}/$script_name
-LOGDIR=${ONOSDIR}/onos-logs
+LOGDIR=${ONOS_LOGDIR:-${ONOSDIR}/onos-logs}
REST_LOG="${LOGDIR}/rest.`hostname`.log"
#######################