summaryrefslogtreecommitdiff
path: root/www/perlbal/files/perlbal.in
blob: fd1731f8d9310e6cdd3a6822ecf1b1a9566ba25b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: perlbal
# REQUIRE: LOGIN
# KEYWORK: shutdown

. /etc/rc.subr

name="perlbal"
command="%%PREFIX%%/bin/perlbal"

load_rc_config "$name"

: ${perlbal_enable="NO"}
: ${perlbal_configuration="%%PREFIX%%/etc/perlbal/perlbal.conf"}

required_files="$perlbal_configuration"

command_args="--config $required_files --daemon"

run_rc_command "$1"