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 |
|
---|
17 | name="zoneserver"
|
---|
18 | rcvar=zoneserver_enable
|
---|
19 | command="%%PREFIX%%/bin/duende"
|
---|
20 | command_args="%%PREFIX%%/sbin/zoneserver -f ${maradns_conf}"
|
---|
21 | pidfile="/var/run/${name}.pid"
|
---|
22 |
|
---|
23 | load_rc_config $name
|
---|
24 |
|
---|
25 | run_rc_command "$1"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.