pkgsrc/www/pound/files/pound.sh
jlam d032cfa67d Import pound-2.3.2 into www/pound.
The Pound program is a reverse proxy, load balancer and HTTPS front-end
for Web server(s).  Pound was developed to enable distributing the
load among several Web-servers and to allow for a convenient SSL wrapper
for those Web servers that do not offer it natively.  Pound is a very
small program, easily audited for security problems.  It can run as
setuid/setgid and/or in a chroot jail.  Pound does not access the
hard-disk at all (except for reading the certificate file on start,
if required) and should thus pose no security threat to any machine.
2007-09-07 19:08:09 +00:00

20 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"