mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
f3a13d06cd
Copy maradns 1.4.14 to dns/maradns1. Sponsored by: Absolight
26 lines
389 B
Bash
26 lines
389 B
Bash
#!/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"
|