Fix missing rest script

Change-Id: I95ce2d3e4c810cae0ec061de548ca23f0243ba39
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"
 #######################