19 lines
431 B
Bash
Executable File
19 lines
431 B
Bash
Executable File
#!/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
|
|
|
|
|