執行啓動項目文件命令restartCrm8084.sh文件內容
pid=`ps aux | grep 8084/crm | grep -v grep | awk '{print $2}'`
echo $pid
if [ -n "$pid" ]
then
{
echo ===========shutdown================
echo $pid
kill -9 $pid
echo ===========shutdownSuccess=========
}
fi
nohup java -jar /www/server/8084/crm.jar >/dev/null 2>&1 &
exit
clean install -Dmaven.test.skip=true
1675是登錄服務器端口