[rhmessaging-commits] rhmessaging commits: r4303 - mgmt/newdata/cumin/bin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Fri Sep 17 10:35:36 EDT 2010
Author: justi9
Date: 2010-09-17 10:35:35 -0400 (Fri, 17 Sep 2010)
New Revision: 4303
Modified:
mgmt/newdata/cumin/bin/cumin
Log:
A patch from Jan to avoid the superfluous sleep loop; rename pid vars to reflect new executable names
Modified: mgmt/newdata/cumin/bin/cumin
===================================================================
--- mgmt/newdata/cumin/bin/cumin 2010-09-17 12:29:06 UTC (rev 4302)
+++ mgmt/newdata/cumin/bin/cumin 2010-09-17 14:35:35 UTC (rev 4303)
@@ -1,18 +1,15 @@
#!/bin/bash
function die {
- kill "$mpid"
- kill "$cpid"
+ kill "$data" "$web"
}
trap die EXIT
cumin-data &
-mpid="$!"
+data="$!"
cumin-web &
-cpid="$!"
+web="$!"
-while :; do
- sleep 10
-done
+wait
More information about the rhmessaging-commits
mailing list