#! /bin/shell

#  sudo 超级权限启动, 否则无法创建log日志文件夹报错

# 停止服务
ps aux|grep bootstrap-2.0|awk '{print $2}'|xargs kill -9
#/data0/java_projects_jenkins/
# 启动新jar,
nohup java -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:NewRatio=2 -XX:SurvivorRatio=8  -XX:+HeapDumpOnOutOfMemoryError -Xms6g -Xmx6g -Xss256k -jar bootstrap-2.0.jar &>/dev/null &

echo "run success"
