osaf/services/infrastructure/dtms/scripts/osaf-dtm.in |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/osaf/services/infrastructure/dtms/scripts/osaf-dtm.in 
b/osaf/services/infrastructure/dtms/scripts/osaf-dtm.in
--- a/osaf/services/infrastructure/dtms/scripts/osaf-dtm.in
+++ b/osaf/services/infrastructure/dtms/scripts/osaf-dtm.in
@@ -54,6 +54,10 @@ start() {
 }
 
 stop() {
+       # if called by AMF (as during opensaf shutdown) just exit, init script 
will
+       # eventually take down dtmd
+       test -n "$SA_AMF_COMPONENT_NAME" && exit 0
+       
        echo -n "Stopping $prog: "
        killproc -p $pidfile $prog
        RETVAL=$?

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to