11 lines
204 B
Bash
Executable File
11 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
|
|
../bin/db_proxy --id=10.999.30.1 --business-id=10 --pid-file=./db_proxy_10_999_ag.pid stop
|