Files
xkm-server/server_999/runenv/db_proxy/cfg/stop_db_proxy.sh
2025-05-21 13:43:08 +08:00

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