aboutsummaryrefslogtreecommitdiffstats
path: root/dns/nsd/files
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2008-07-29 06:25:55 +0800
committerpgollucci <pgollucci@FreeBSD.org>2008-07-29 06:25:55 +0800
commitcf2b8674d05253e5c97bfd23e0c7aa0f6912fa8b (patch)
treea991470095c7f20719689e5ddaae1ef16715651d /dns/nsd/files
parentfc2070e60ca992e23f174dcc1d9e136382ffeb1f (diff)
downloadfreebsd-ports-gnome-cf2b8674d05253e5c97bfd23e0c7aa0f6912fa8b.tar.gz
freebsd-ports-gnome-cf2b8674d05253e5c97bfd23e0c7aa0f6912fa8b.tar.zst
freebsd-ports-gnome-cf2b8674d05253e5c97bfd23e0c7aa0f6912fa8b.zip
- Update to 3.1.1
- Respect NOPORTDOCS - Add option NSDMAX_INT - rename rc.d script nsd.sh -> nsd PR: ports/125898 Approved by: Olafur Osvaldsson <osvaldsson@icelandic.net> (maintainer), araujo (mentor)
Diffstat (limited to 'dns/nsd/files')
-rw-r--r--dns/nsd/files/nsd.in (renamed from dns/nsd/files/nsd.sh.tmpl)5
1 files changed, 2 insertions, 3 deletions
diff --git a/dns/nsd/files/nsd.sh.tmpl b/dns/nsd/files/nsd.in
index a1e1a644e588..43e8f1ebdca1 100644
--- a/dns/nsd/files/nsd.sh.tmpl
+++ b/dns/nsd/files/nsd.in
@@ -17,16 +17,15 @@ rcvar=`set_rcvar`
prefix=%%PREFIX%%
-required_files=%%NSDDIR%%/nsd.conf
+required_files=%%PREFIX%%/etc/nsd/nsd.conf
command=/usr/local/sbin/${name}
pidfile=/var/run/${name}.pid
-# set defaults
+load_rc_config ${name}
nsd_enable=${nsd_enable:-"NO"}
nsd_flags=${nsd_flags:-""}
-load_rc_config ${name}
run_rc_command "$1"