blob: 0d36f307f9b62416cac629a539d94a1139a7a08d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: maradns
# REQUIRE: SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
#
. /etc/rc.subr
: ${maradns_enable="NO"}
: ${maradns_conf="%%PREFIX%%/etc/mararc"}
name="maradns"
rcvar=maradns_enable
command="%%PREFIX%%/bin/duende"
command_args="%%PREFIX%%/sbin/maradns -f ${maradns_conf}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"
|