currently calling 'service 
deltacloud-{condor_refreshd,dbomatic,image_builder_service} status'
  does not work as expected. This patch fixes this issue.
---
 conf/deltacloud-condor_refreshd       |    2 +-
 conf/deltacloud-dbomatic              |    2 +-
 conf/deltacloud-image_builder_service |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/deltacloud-condor_refreshd b/conf/deltacloud-condor_refreshd
index 6c0b6d5..7ac29cf 100755
--- a/conf/deltacloud-condor_refreshd
+++ b/conf/deltacloud-condor_refreshd
@@ -68,7 +68,7 @@ case "$1" in
       restart
       ;;
     status)
-     status $REFRESHD_PROG
+     status -p $REFRESHD_PID $REFRESHD_PROG
      RETVAL=$?
      ;;
     *)
diff --git a/conf/deltacloud-dbomatic b/conf/deltacloud-dbomatic
index 8a50098..49cc1c1 100755
--- a/conf/deltacloud-dbomatic
+++ b/conf/deltacloud-dbomatic
@@ -68,7 +68,7 @@ case "$1" in
       restart
       ;;
     status)
-     status $DBOMATIC_PROG
+     status -p $DBOMATIC_PID $DBOMATIC_PROG
      RETVAL=$?
      ;;
     *)
diff --git a/conf/deltacloud-image_builder_service 
b/conf/deltacloud-image_builder_service
index ecffb43..173a2d2 100755
--- a/conf/deltacloud-image_builder_service
+++ b/conf/deltacloud-image_builder_service
@@ -67,7 +67,7 @@ case "$1" in
       restart
       ;;
     status)
-     status $BUILDER_PROG
+     status -p $BUILDER_PID $BUILDER_PROG
      RETVAL=$?
      ;;
     *)
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to