1
This commit is contained in:
parent
f4518282c0
commit
3d72824f42
@ -1,11 +0,0 @@
|
||||
path_arr=$(echo $PWD|tr '/' '\n')
|
||||
path_arr=(${path_arr})
|
||||
GAME_ID=${path_arr[-5]}
|
||||
|
||||
if echo $GAME_ID | grep -q '[^0-9]'
|
||||
then
|
||||
echo 'game_id参数必须为数字'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python ../../third_party/tools/scripts/server/monitor.py gameserver${GAME_ID} '-n1 -i1'
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/profile
|
||||
source /root/.bash_profile
|
||||
|
||||
./gameserver2006 -n $1 -i $2 >> gameserver2006$2_$1.out
|
||||
echo $? >> start.log
|
||||
date >> start.log
|
||||
echo $1 $2 >> start.log
|
||||
free -m >> start.log
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
nohup sh real_start_instance.sh 1 1 2>&1 &
|
Loading…
x
Reference in New Issue
Block a user