12 lines
246 B
Bash
12 lines
246 B
Bash
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
|
|
|
|
../bin/redis_proxy --id=10.999.88.1 --business-id=10 --log-level=300 --bus-key=2109991 --pid-file=./redis_proxy_10_999_ag.pid stop
|