blob: 331d9bbfd4d0d784e6280ad66a1452739913e0b3 [file] [log] [blame]
# script to stop the cord gui server
#
PID=$(ps | grep jetty-runner | grep -v grep | cut -c1-5)
if [ -z "$PID" ]
then
echo jetty-runner not running
exit 0
fi
kill $PID
sleep 1
PID=$(ps | grep jetty-runner | grep -v grep | cut -c1-5)
if [ ! -z "$PID" ]
then
echo jetty-runner still running ?
else
echo jetty-runner stopped
fi