|
@@ -15,7 +15,7 @@ def stop():
|
|
|
p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
|
|
|
out, err = p.communicate()
|
|
|
for line in out.splitlines():
|
|
|
- if './run' in line:
|
|
|
+ if 'lift-stateless-assembly' in line and 'java' in line:
|
|
|
pid = int(line.split(None, 2)[1])
|
|
|
os.kill(pid, 9)
|
|
|
return 0
|