From 8b4396fa289fb77c0312545795180807a740907b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 28 Jan 2007 07:24:05 +0000 Subject: Rebuild the tinydns database very 60 seconds so that failover CARP nodes are rebult accordingly. XMLRPC already works so now any host in a CARP cluter can be a authoritative host and dynamically failover. --- packages/tinydns/tinydns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/tinydns/tinydns.inc') diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index f4c4100b..ecb4e3ef 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -91,7 +91,7 @@ svscan_start () { /usr/bin/env \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ /usr/sbin/daemon -f /bin/sh -c "\$command \$svscan_servicedir 2>&1 | /usr/local/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null - minicron {$refreshinterval} /var/run/ping_hosts.pid /etc/ping_hosts.sh + minicron {$refreshinterval} /var/run/ping_hosts.pid "/etc/ping_hosts.sh; cd /etc/tinydns/root && /usr/local/bin/tinydns-data" } svscan_stop_post () { -- cgit v1.2.3