[Opendnssec-user] Spec file and changes to ods-control startup script

AndyH at nominet.org.uk AndyH at nominet.org.uk
Wed Nov 25 15:44:40 UTC 2009


I've attached a spec file that we use to build opendnssec for CentOS in
case it's of use to anyone.

I'd also like to see some changes to the ods-control init script - to allow
it to be used with the chkconfig command, and a sleep statement at the end
to allow the processes time to die cleanly (our config management system
immediately checks to see that the processes have died, and currently
thinks there's a problem stopping things)

diff -u ./tools/ods-control.in ./tools/ods-control.in.new
--- ./tools/ods-control.in    2009-11-25 14:08:21.000000000 +0000
+++ ./tools/ods-control.in.new      2009-11-25 15:37:55.000000000 +0000
@@ -1,5 +1,7 @@
+# chkconfig: 345 80 20
+# description: starts ods-control
 # $Id: $
 # Copyright (c) 2009 .SE (The Internet Infrastructure Foundation)
@@ -67,6 +69,7 @@

      echo "Stopping signer engine.."
      $prefix/bin/ods-signer stop
+     sleep 1


(See attached file: opendnssec.spec)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: opendnssec.spec
Type: application/octet-stream
Size: 2098 bytes
Desc: not available
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20091125/ce57832a/attachment.obj>

More information about the Opendnssec-user mailing list