[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3829 - trunk/OpenDNSSEC/tools

Rickard Bellgrim rickard.bellgrim at iis.se
Tue Aug 31 08:55:41 CEST 2010


Author: rb
Date: 2010-08-31 08:55:41 +0200 (Tue, 31 Aug 2010)
New Revision: 3829

Modified:
   trunk/OpenDNSSEC/tools/ods-control.in
Log:
Only wait for removal of PID-file if we could kill the process.
And the signer was started with too high verbosity


Modified: trunk/OpenDNSSEC/tools/ods-control.in
===================================================================
--- trunk/OpenDNSSEC/tools/ods-control.in	2010-08-30 13:00:58 UTC (rev 3828)
+++ trunk/OpenDNSSEC/tools/ods-control.in	2010-08-31 06:55:41 UTC (rev 3829)
@@ -75,9 +75,11 @@
 		if [ -r "$enforcer_pid_file" ]; then
 			kill -TERM `cat "$enforcer_pid_file"`
 			RETVAL=$?
-			while [ -r "$enforcer_pid_file" ]; do
-				sleep 1
-			done
+			if [ $RETVAL = 0 ]; then
+				while [ -r "$enforcer_pid_file" ]; do
+					sleep 1
+				done
+			fi
 		else
 			echo "Cannot find PID file"
 			RETVAL=1
@@ -108,7 +110,7 @@
 	"$0" enforcer start
 
 	echo "Starting signer engine..."
-	"$sbindir/ods-signerd" -vvvvv
+	"$sbindir/ods-signer" start
 	;;
 
 'stop')




More information about the Opendnssec-commits mailing list