From fb2e231b42db481be1ecab0071a350e01a8dbc46 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Sun, 23 Sep 2012 12:15:50 -0400 Subject: [PATCH] * dont try to signal ods-enforcerd when not running --- opendnssec.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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