aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-28 07:24:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-28 07:24:05 +0000
commit8b4396fa289fb77c0312545795180807a740907b (patch)
treeb59bd42b88fd3ab4ef1b898ed2dfe29793f5982c
parent6037a4374ce5dc6a1a103048bfc4b9c4018d85e8 (diff)
downloadpfsense-packages-8b4396fa289fb77c0312545795180807a740907b.tar.gz
pfsense-packages-8b4396fa289fb77c0312545795180807a740907b.tar.bz2
pfsense-packages-8b4396fa289fb77c0312545795180807a740907b.zip
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.
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
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 () {