@@ -0,0 +1,11 @@
+#!/bin/bash
+RESOURCE_NAME=museum_changshu.jar
+ Pid=`awk '{print $1}' tpid`
+
+if [ ${Pid} ]; then
+kill -9 $Pid
+echo 'Kill Process!'
+else
+echo 'Stop failed!'
+fi
@@ -0,0 +1,12 @@
+#!/bin/sh
+rm -f tpid
+nohup java -jar ./$RESOURCE_NAME --spring.profiles.active=sit --server.port=8002 & echo $! > tpid
+echo Start Success!
+echo