freebsd-ports/www/hiawatha/files/hiawatha.in
Ion-Mihai Tetcu b2dda62aed Hiawatha is an advanced and secure webserver for Unix. It has been written with
'being secure' as its main goal. Hiawatha has many security features that no
other webserver has. Besides being very secure, it's also a very fast
webserver. It's twice as fast as Apache for static content. It supports
load-balanced FastCGI, which makes it fast and scalable for serving CGI.

PR:		ports/106277
Submitted by:	Hugo Leisink <hugo at leisink.net>
2006-12-03 20:56:24 +00:00

23 lines
405 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: httpd
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# Add the following line(s) to /etc/rc.conf:
# hiawatha_enable (bool): Set to "NO" by default, set it to "YES" to enable hiawatha
. %%RC_SUBR%%
name="hiawatha"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
: ${hiawatha_enable="NO"}
run_rc_command "$1"