Exec of client didn't work - docker container still dies at end of script.
Trying instead to wait on death of java process.
Change-Id: I5687ca46b55b13a4918b0be1e2204abf58ca43b2
Issue-ID: CCSDK-208
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
echo "Installed at `date`" > ${CCSDK_HOME}/.installed
fi
-# Start client to force a wait on state of karaf server
-exec ${ODL_HOME}/bin/client
+# Wait on java
+pid=$(ps auxwww | grep java | grep -v grep | awk '{print $2}')
+exec tail --pid=$pid -f /dev/null