#!/bin/sh

if [ `ps -ef |grep /opt/yxt/tomcats/testcmpp/test-cmpp2-1.0.0.jar |grep -v grep |wc -l` == 0 ]; then
( nohup java -server  -Xms600m -Xmx600m -jar /opt/yxt/tomcats/testcmpp/test-cmpp2-1.0.0.jar > /dev/null 2>&1 & )
else
echo "test-cmpp2 operation is running"
fi
