restart.sh 189 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 #!/bin/bash ENV=$1 if [ -z "$ENV" ]; then echo "ERROR:PLEASE SPEC ENV ARGS,SUCH AS dev,test,beta,release.. " echo "app exit" exit 1 fi cd `dirname $0` ./stop.sh ./start.sh $ENV