21 lines
414 B
Bash
21 lines
414 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: pound.sh,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $
|
|
#
|
|
# Pound - reverse proxy, load balancer and HTTPS web front-end
|
|
#
|
|
# PROVIDE: pound
|
|
# REQUIRE: DAEMON
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="pound"
|
|
rcvar=${name}
|
|
command="@PREFIX@/sbin/${name}"
|
|
pidfile="@VARBASE@/run/${name}.pid"
|
|
command_args="-p ${pidfile}"
|
|
required_files="@PKG_SYSCONFDIR@/pound.cfg"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|