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

11 lines
222 B
Bash

#!/bin/sh
curuser=`whoami`
if [ $curuser = "root1" ];then
echo "root Operation is not allowed!!"
exit -1
fi
../bin/relay_svr --id=10.999.63.1 --conf-file ../cfg/relay_svr.xml --pid-file=./relay_svr_10_999_ag.pid stop