添加-n参数
This commit is contained in:
parent
1804cbea7d
commit
7cca0db8d7
@ -34,7 +34,7 @@ def stop(instance_id, node_id):
|
|||||||
for pid in pids:
|
for pid in pids:
|
||||||
exepath = getExePath(pid)
|
exepath = getExePath(pid)
|
||||||
cmdline = getExeCmdLine(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))
|
os.popen('kill -9 %d' % int(pid))
|
||||||
|
|
||||||
def listServer():
|
def listServer():
|
||||||
|
2
third_party/framework
vendored
2
third_party/framework
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 366eeab6832866357dec147004b99a0c95e7ad8f
|
Subproject commit ca38a14dc4384b5654d21261130dc1bf75c8d5a8
|
Loading…
x
Reference in New Issue
Block a user