summaryrefslogtreecommitdiff
path: root/www/pound/files/pound.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/pound/files/pound.sh')
-rw-r--r--www/pound/files/pound.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/pound/files/pound.sh b/www/pound/files/pound.sh
new file mode 100644
index 00000000000..72e16040d61
--- /dev/null
+++ b/www/pound/files/pound.sh
@@ -0,0 +1,20 @@
+#!@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"