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