From 4700a31d399d3e3fe5594cce350744ea71ede5ee Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 24 Aug 2007 23:00:23 +0000
Subject: [PATCH] Add a mechanism for generating an RC script that can be used on UNIX systems to configure the server to automatically start when the system boots.

---
 opends/resource/bin/stop-ds |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opends/resource/bin/stop-ds b/opends/resource/bin/stop-ds
index b424df1..3a8aab4 100755
--- a/opends/resource/bin/stop-ds
+++ b/opends/resource/bin/stop-ds
@@ -189,6 +189,10 @@
         STOPPED=0
       fi
     fi
+  else
+    echo "ERROR:  Unable to find the server.pid file to determine the process"
+    echo "        ID of the OpenDS process to terminate."
+    exit 1
   fi
 fi
 

--
Gitblit v1.10.0