11 lines
222 B
Bash
11 lines
222 B
Bash
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
|
|
../bin/relay_svr --id=10.999.63.1 --conf-file ../cfg/relay_svr.xml --pid-file=./relay_svr_10_999_ag.pid stop
|