summaryrefslogtreecommitdiff
path: root/net/unbound/files
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-05-26 22:36:56 +0000
committerjoerg <joerg@pkgsrc.org>2008-05-26 22:36:56 +0000
commit72964301f77bd3a73fdd671d909a3c11ed663ed4 (patch)
treead15fe78d7f5bcdcce539b2bf9372d5ecd3decb8 /net/unbound/files
parentb36ca4e29c9b2092a619b39ece49d16e8194fc96 (diff)
downloadpkgsrc-72964301f77bd3a73fdd671d909a3c11ed663ed4.tar.gz
Import unbound-1.0.0, a DNS recursor library and daemon from the guys
that brought us NSD.
Diffstat (limited to 'net/unbound/files')
-rw-r--r--net/unbound/files/unbound.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/unbound/files/unbound.sh b/net/unbound/files/unbound.sh
new file mode 100644
index 00000000000..9cb7dfb8cb5
--- /dev/null
+++ b/net/unbound/files/unbound.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: unbound.sh,v 1.1.1.1 2008/05/26 22:36:56 joerg Exp $
+#
+# PROVIDE: unbound
+# REQUIRE: DAEMON
+#
+
+. /etc/rc.subr
+
+name="unbound"
+rcvar=${name}
+
+command=@PREFIX@/sbin/${name}
+pidfile=/var/run/${name}.pid
+
+load_rc_config ${name}
+run_rc_command "$1"