#!/bin/sh curuser=`whoami` if [ $curuser = "root1" ];then echo "root Operation is not allowed!!" exit -1 fi ../bin/relation_svr --id=10.900.93.1 --conf-file ../cfg/relation_svr.xml --pid-file=./relation_svr_10_900_ag.pid stop