11 lines
219 B
Bash
11 lines
219 B
Bash
#!/bin/sh
|
|
|
|
curuser=`whoami`
|
|
|
|
if [ $curuser = "root1" ];then
|
|
echo "root Operation is not allowed!!"
|
|
exit -1
|
|
fi
|
|
|
|
../bin/chat_svr --id=10.999.66.1 --conf-file ../cfg/chat_svr.xml --pid-file=./chat_svr_10_999_ag.pid stop
|