#!/bin/sh

# PROVIDE: pound
# REQUIRE: NETWORKING SERVERS
# BEFORE:  DAEMON
# KEYWORD: shutdown

# Add the following line to /etc/rc.conf to enable `pound':
#
# pound_enable="YES"
#
# and be sure to configure /usr/local/etc/pound.conf

. /etc/rc.subr

name="pound"
rcvar=pound_enable

command="/usr/local/sbin/$name"
pidfile="/var/run/$name.pid"
required_files="/usr/local/etc/$name.cfg"

# read configuration and set defaults
load_rc_config $name
: ${pound_enable="NO"}

run_rc_command "$1"
