添加-n参数

This commit is contained in:
aozhiwei 2019-06-03 14:33:07 +08:00
parent 1804cbea7d
commit 7cca0db8d7
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ def stop(instance_id, node_id):
for pid in pids:
exepath = getExePath(pid)
cmdline = getExeCmdLine(pid)
if cmdline == ("./wsproxy\0-i\0%d\0-i\0%d\0" % (instance_id, node_id)):
if cmdline == ("./wsproxy\0-i\0%d\0-n\0%d\0" % (instance_id, node_id)):
os.popen('kill -9 %d' % int(pid))
def listServer():

@ -1 +1 @@
Subproject commit 366eeab6832866357dec147004b99a0c95e7ad8f
Subproject commit ca38a14dc4384b5654d21261130dc1bf75c8d5a8