1
This commit is contained in:
commit
52f77f724f
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "third_party/game2004api"]
|
||||
path = third_party/game2004api
|
||||
url = git@git.kingsome.cn:server/game2004api.git
|
0
bin/.gitkeep
Normal file
0
bin/.gitkeep
Normal file
1
bin/game2004_rankserver_cmd.py
Symbolic link
1
bin/game2004_rankserver_cmd.py
Symbolic link
@ -0,0 +1 @@
|
||||
../third_party/game2004api/tools/rankserver/rankserver_cmd.py
|
1
bin/game2004rank.py
Symbolic link
1
bin/game2004rank.py
Symbolic link
@ -0,0 +1 @@
|
||||
../third_party/game2004api/tools/rankserver/app.py
|
7
boundle.sh
Executable file
7
boundle.sh
Executable 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
1
local_packages
Symbolic link
@ -0,0 +1 @@
|
||||
third_party/game2004api/tools/local_packages
|
9
restart.sh
Executable file
9
restart.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
ps -ef|grep python|grep game2004_rankserver|grep -v grep
|
||||
if [ $? -eq 0 ]; then
|
||||
ps -ef|grep python|grep game2004_rankserver|grep -v grep|awk '{print $2}'|xargs kill -9
|
||||
fi
|
||||
|
||||
cd bin
|
||||
nohup python3 game2004_rankserver.py >> game2004_rankserver.out 2>&1 &
|
0
target/.gitkeep
Normal file
0
target/.gitkeep
Normal file
1
third_party/game2004api
vendored
Submodule
1
third_party/game2004api
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 75ed033bebef1e44ffd1ddb6fc3b3bed0cb43c6a
|
Loading…
x
Reference in New Issue
Block a user