aboutsummaryrefslogtreecommitdiff
path: root/dns/maradns/files/zoneserver.in
diff options
context:
space:
mode:
Diffstat (limited to 'dns/maradns/files/zoneserver.in')
-rw-r--r--dns/maradns/files/zoneserver.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/dns/maradns/files/zoneserver.in b/dns/maradns/files/zoneserver.in
new file mode 100644
index 000000000000..d11e658a0fb4
--- /dev/null
+++ b/dns/maradns/files/zoneserver.in
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: zonserver
+# REQUIRE: SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+#
+
+. %%RC_SUBR%%
+
+name="zonserver"
+rcvar=`set_rcvar`
+command="%%PREFIX%%/bin/duende"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config $name
+
+zonserver_enable=${zonserver_enable-"NO"}
+
+run_rc_command "$1"