This commit is contained in:
aozhiwei 2019-11-28 15:14:45 +08:00
parent ee633e6ff8
commit b71a1a2da9
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ python ../tools/scripts/construct/build_pb.py --nohooks 1
cmake -DGAME_ID=${GAME_ID} -DMASTER_MODE=1 .
make clean
make
cp ../bin/wsproxy ../../../../bin/${PROJECT_NAME}
cp ../bin/${SRC_EXE_NAME} ../../../../bin/${PROJECT_NAME}
cd ../../../../

View File

@ -67,7 +67,7 @@ def main(argv):
elif argv[1] == 'stop':
stop(argv[2], argv[3], argv[4])
elif argv[1] == 'list':
listServer(argv[1])
listServer(argv[2])
if __name__ == '__main__':
main(sys.argv)

View File

@ -2,6 +2,6 @@
source ./common.sh
python manage.py restart $1 $2
python manage.py restart $1 $2 ${PROJECT_NAME}
echo 'success'