summaryrefslogtreecommitdiff
path: root/net/bind9/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/bind9/files')
-rw-r--r--net/bind9/files/lwresd.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/bind9/files/lwresd.sh b/net/bind9/files/lwresd.sh
new file mode 100644
index 00000000000..be6edfe1d70
--- /dev/null
+++ b/net/bind9/files/lwresd.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# PROVIDE: lwresd
+# REQUIRE: SERVERS
+
+. /etc/rc.subr
+
+name="lwresd"
+rcvar=${name}
+command="@PREFIX@/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+extra_commands="reload"
+
+load_rc_config ${name} # check /etc/rc.conf.d/named9
+run_rc_command "$1"