summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
1ab0588)
In karaf 4, the 'stop' command returns before the container is actually
stopped. So, need to add a sleep to wait for container to come down
after stop is issued before trying to restart it.
Change-Id: Id6e966e0f510a245cbc28b49dc571ffd242050e4
Issue-ID: SDNC-279
Signed-off-by: Timoney, Daniel (dt5972) <dt5972@att.com>
echo "Restarting OpenDaylight"
${ODL_HOME}/bin/stop
echo "Restarting OpenDaylight"
${ODL_HOME}/bin/stop
+ echo "Waiting 60 seconds for OpenDaylight stop to complete"
+ sleep 60
echo "Installed at `date`" > ${SDNC_HOME}/.installed
fi
echo "Installed at `date`" > ${SDNC_HOME}/.installed
fi