allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/3] allura git commit: [#7803] ticket:810 Updated taskd_cleanup to search for right process name
Date Mon, 29 Jun 2015 20:27:33 GMT
[#7803] ticket:810 Updated taskd_cleanup to search for right process name


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/6b7a5fde
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/6b7a5fde
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/6b7a5fde

Branch: refs/heads/master
Commit: 6b7a5fdedf5dc2379c6de09180830887ec7e23c3
Parents: 6ba4a43
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Sun Jun 28 13:44:59 2015 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Jun 29 20:26:56 2015 +0000

----------------------------------------------------------------------
 Allura/allura/command/taskd_cleanup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/6b7a5fde/Allura/allura/command/taskd_cleanup.py
----------------------------------------------------------------------
diff --git a/Allura/allura/command/taskd_cleanup.py b/Allura/allura/command/taskd_cleanup.py
index 517917f..99caa80 100644
--- a/Allura/allura/command/taskd_cleanup.py
+++ b/Allura/allura/command/taskd_cleanup.py
@@ -129,7 +129,7 @@ class TaskdCleanupCommand(base.Command):
 
     def _taskd_pids(self):
         # space after "taskd" to ensure no match on taskd_cleanup (ourself)
-        p = subprocess.Popen(['pgrep', '-f', '/paster taskd '],
+        p = subprocess.Popen(['pgrep', '-f', '^taskd '],
                              stdout=subprocess.PIPE,
                              stderr=subprocess.PIPE)
         stdout, stderr = p.communicate()


Mime
View raw message