#! /bin/bash
source /etc/profile
cd /home/luodian_farm_facility/
ps -ef|grep /home/luodian_farm_facility/luodian_farm_facility | grep -v grep | awk '{print $2}' | xargs -r kill -9
BUILD_ID=dontKillMe
nohup java -Xms1024m -Xmx1048m -XX:+HeapDumpOnOutOfMemoryError -jar /home/luodian_farm_facility/luodian_farm_facility.jar --spring.profiles.active=prod >nohup.out 2>&1 &