Files
xkm-server/server_999/runenv/redis_proxy/cfg/start_redis_proxy.sh
2025-05-20 15:31:00 +08:00

19 lines
431 B
Bash

#!/bin/sh
curuser=`whoami`
if [ $curuser = "root1" ];then
echo "root Operation is not allowed!!"
exit -1
fi
if [ ! -d ./tdr ];then
mkdir -p ./tdr
fi
cp ../../../protocol/tdr/proto_ss.tdr ./tdr/
../bin/redis_proxy a5game_zs_999 --id=10.999.88.1 --business-id=10 --log-level=300 --tlogconf ../cfg/redis_proxy_log.xml --conf-file ../cfg/redis_proxy.xml --bus-key=2109991 --pid-file=./redis_proxy_10_999_ag.pid -D start