With Nitrogen, it can take some time after stop is issued for
karaf container to actually come down. Add a sleep to allow
time for stop to complete before execing karaf.
Change-Id: Ifb39cb78390bd595791cc96ac148d17d3c9db08c
Issue-ID: CCSDK-208
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
echo "Restarting OpenDaylight"
${ODL_HOME}/bin/stop
+ echo "Waiting ${SLEEP_TIME} seconds for OpenDaylight to stop"
+ sleep ${SLEEP_TIME}
echo "Installed at `date`" > ${CCSDK_HOME}/.installed
fi
-exec ${ODL_HOME}/bin/karaf
+exec ${ODL_HOME}/bin/karaf server