From 52d97b053982554cda121819362ab39270014f9d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Jan 2007 18:16:24 +0000 Subject: * Create svscan structure correctly. * Ensure multilog is reading from tinydns pipe to prevent blockage --- packages/tinydns/tinydns.inc | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 623c96e8..5e0c5804 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -68,20 +68,6 @@ function tinydns_custom_php_install_command() { # REQUIRE: LOGIN # KEYWORD: FreeBSD -MINSEGMENT=10240 -MAXSEGMENT=20480 -MAXFILESIZE=10240 -MAXFD=100 -MAXCHILD=40 - -# ulimits -ulimit -d \${{$minsegment}} -ulimit -f \${{$maxfilesize}} -ulimit -m \${{$maxsegment}} -ulimit -n \${{$$maxfd}} -ulimit -s \${{$minsegment}} -ulimit -u \${{$maxchild}} - . /etc/rc.subr name="svscan" @@ -143,9 +129,8 @@ function tinydns_custom_php_changeip_command() { exec("/usr/sbin/pw useradd Gtinydns"); exec("/usr/sbin/pw useradd Gdnslog"); exec("/usr/local/bin/tinydns-conf Gtinydns Gdnslog /etc/tinydns {$ip}"); - exec("/bin/ln -s /etc/tinydns /service"); - sleep(5); - exec("/usr/local/bin/svstat /service/tinydns"); + exec("/bin/mkdir /service"); + exec("/bin/ln -s /etc/tinydns /service/"); if($updatecron) { $text_1 = "*/1 * * * * root /usr/bin/nice -n20 /etc/ping_hosts.sh"; $text_5 = "*/5 * * * * root /usr/bin/nice -n20 /etc/ping_hosts.sh"; -- cgit v1.2.3