This commit is contained in:
aozhiwei 2020-03-26 14:34:42 +08:00
parent 2047489cd0
commit 3022b764b9
5 changed files with 21 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
bin
target
config
*.log

7
boundle.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
dir_name=`basename $PWD`
package_name=${dir_name}.tar.gz
tar --exclude=*.git -chzf target/${package_name} bin config local_packages reload.sh restart.sh

1
local_packages Symbolic link
View File

@ -0,0 +1 @@
third_party/wjtx/tools/local_packages

0
reload.sh Normal file
View File

9
restart.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
ps -ef|grep python|grep game1009newlogger|grep -v grep
if [ $? -eq 0 ]; then
ps -ef|grep python|grep game1009newlogger|grep -v grep|awk '{print $2}'|xargs kill -9
fi
cd bin
nohup python game1009newlogger.py >> game1009newlogger.out 2>&1 &