#!/bin/bash #update WebContent rm -r WebContent rm ClusterWebContent.zip wget https://public.internetapi.cn/releases/bdcontract/newest/ClusterWebContent.zip unzip -d WebContent ClusterWebContent.zip #update bdcluster.jar rm -r libs rm bdcluster.jar wget https://public.internetapi.cn/releases/bdcontract/newest/bdcluster.zip unzip bdcluster.zip echo "Automatically Restarting Cluster" sh ncstart.sh echo "Done!"