source: hybrid/branches/releng-9/nanobsd/ports/dns/maradns2/files/maradns.in

Last change on this file was 10612, checked in by rick, 13 years ago

Make port building whole bunch more stupid:

1) Bundle ports in the tree itself, instead of global shared banch.
2) Copy the local ports just in the /usr/ports tree to allow playing around

with just the ordenary tools.

File size: 477 bytes
Line 
1#!/bin/sh
2#
3# $FreeBSD: ports/dns/maradns/files/maradns.in,v 1.5 2012/01/14 08:55:38 dougb Exp $
4#
5
6# PROVIDE: maradns
7# REQUIRE: SERVERS
8# BEFORE: DAEMON
9# KEYWORD: shutdown
10#
11
12. /etc/rc.subr
13
14: ${maradns_enable="NO"}
15: ${maradns_conf="%%PREFIX%%/etc/mararc"}
16
17name="maradns"
18rcvar=maradns_enable
19command="%%PREFIX%%/bin/duende"
20pidfile="/var/run/${name}.pid"
21command_args="--pid=$pidfile %%PREFIX%%/sbin/maradns -f ${maradns_conf}"
22
23load_rc_config $name
24
25run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.