Closed RammusXu closed 7 years ago
DATE=$(date +%Y%m%d_%H%M%S) FILE="/backup/backup-$DATE"
export A_VARIBALE unset A_VARIBALE
ps aux | grep "java -jar build/libs/Hello-1.0.jar" pgrep -f "java -jar build/libs/Hello-1.0.jar" pkill -f "java -jar build/libs/Hello-1.0.jar" echo $? pgrep -f "java -jar build/libs/Pokemon-1.0.jar" | xargs kill pkill -f "java -jar build/libs/Hello-1.0.jar" || true