add start_instance.sh real_start_instance.sh

This commit is contained in:
aozhiwei 2020-06-10 09:49:56 +08:00
parent de5e50e09f
commit 38bacca8dd
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
./gameserver2004 -n $1 -i $2 >> gameserver2004$2_$1.out
echo $? >> start.log
date >> start.log
echo $1 $2 >> start.log

3
server/bin/start_instance.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
nohup sh real_start_instance.sh 1 1 2>&1 &