add delay when restarting rest server
diff --git a/start-rest.sh b/start-rest.sh
index 1f801fe..3006e5e 100755
--- a/start-rest.sh
+++ b/start-rest.sh
@@ -52,6 +52,7 @@
 case "$1" in
   start)
     stop
+    sleep 2
     start 
     ;;
   stop)