aboutsummaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorTimoney, Daniel (dt5972) <dt5972@att.com>2018-04-11 16:28:31 -0400
committerTimoney, Daniel (dt5972) <dt5972@att.com>2018-04-11 16:28:31 -0400
commita270b2af758d4ec3479c0419ad1fc981b4d49b87 (patch)
tree5356e99a8ec30410c56ed2b257cd5d37cea56c6a /installation
parent303eee46594996e794a0634d20f06a8472aeed53 (diff)
Add sleep after stop
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> Former-commit-id: e29882feffe604e5124c126518080e5505ef9c37
Diffstat (limited to 'installation')
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh
index e2c0fa1c..11d88e0a 100755
--- a/installation/sdnc/src/main/scripts/startODL.sh
+++ b/installation/sdnc/src/main/scripts/startODL.sh
@@ -110,6 +110,8 @@ then
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