pkgsrc-wip/lighttpd/files/lighttpd.sh
Makoto Fujiwara 1c597c5467 Import lighttpd-1.4.32nb4 as wip/lighttpd.
Lighttpd is a secure, speedy, compliant, and very flexible web-server
which is designed and optimized for for high-performance environments.
With a small memory footprint compared to other web-servers, effective
management of the CPU-load, and advanced feature set (FastCGI, SCGI,
Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the
perfect solution for every server that is suffering load problems.
wip version provides more options for 'bzip pcre zlib' to get even
light version.
2013-03-26 15:10:43 +00:00

19 lines
370 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: lighttpd.sh,v 1.3 2013/03/26 15:10:44 makoto Exp $
#
# PROVIDE: lighttpd
# REQUIRE: DAEMON
. /etc/rc.subr
name="lighttpd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
conf_file="@PKG_SYSCONFDIR@/${name}.conf"
required_files="${conf_file}"
extra_commands="reload"
command_args="-f ${conf_file}"
load_rc_config $name
run_rc_command $1