Browse Source

Changing the check for the service's process to the actual jar name.

pakunoda 12 years ago
parent
commit
f6d9a3ee8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      unfiltered/setup_unfiltered.py

+ 1 - 1
unfiltered/setup_unfiltered.py

@@ -17,7 +17,7 @@ def stop():
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   for line in out.splitlines():
-    if './start' in line or 'java' in line:
+    if 'bench-assembly' in line or 'java' in line:
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 9)