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