[opendnssec/el6] * dont try to signal ods-enforcerd when not running
Paul Wouters
pwouters at fedoraproject.org
Wed Sep 26 20:34:58 UTC 2012
commit 2257f7fcf121e2925a6157390a9b7f26872ff488
Author: Paul Wouters <pwouters at redhat.com>
Date: Sun Sep 23 12:15:50 2012 -0400
* dont try to signal ods-enforcerd when not running
opendnssec.cron | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/opendnssec.cron b/opendnssec.cron
index bb47f59..776de9b 100644
--- a/opendnssec.cron
+++ b/opendnssec.cron
@@ -1,4 +1,4 @@
# Ensure multiple ods-enforcerd's on different system roll at the same time
# independant of when the daemon was started. Since TLDs often update their
# zone "on the hour" we do the key rollover checks just before the hour.
-50,20 * * * * root kill -s SIGHUP `cat /var/run/opendnssec/enforcerd.pid` > /dev/null 2> /dev/null
+50,20 * * * * root test -f /var/lock/subsys/ods-enforcerd && kill -s SIGHUP `cat /var/run/opendnssec/enforcerd.pid` > /dev/null 2> /dev/null
More information about the scm-commits
mailing list