From 3d72824f4275f575202aedca19b6842e9a28edec Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 2 Oct 2023 11:11:39 +0800 Subject: [PATCH] 1 --- server/bin/monitor.sh | 11 ----------- server/bin/real_start_instance.sh | 10 ---------- server/bin/start_instance.sh | 3 --- 3 files changed, 24 deletions(-) delete mode 100644 server/bin/monitor.sh delete mode 100755 server/bin/real_start_instance.sh delete mode 100755 server/bin/start_instance.sh diff --git a/server/bin/monitor.sh b/server/bin/monitor.sh deleted file mode 100644 index 5aa992aa..00000000 --- a/server/bin/monitor.sh +++ /dev/null @@ -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' diff --git a/server/bin/real_start_instance.sh b/server/bin/real_start_instance.sh deleted file mode 100755 index 557ffefe..00000000 --- a/server/bin/real_start_instance.sh +++ /dev/null @@ -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 diff --git a/server/bin/start_instance.sh b/server/bin/start_instance.sh deleted file mode 100755 index fd2f0316..00000000 --- a/server/bin/start_instance.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -nohup sh real_start_instance.sh 1 1 2>&1 &