e44e9ee278
LightTPD is a secure, fast, compliant, and very flexible web-server which designed and optimized for for high-performance environments. With a small memory footprint compared to other webservers, effective management of the CPU load, and advanced feature set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more), LightTPD is the perfect solution for every server that is suffering load problems. This is loosely based on the lighttpd package from pkgsrc-wip by Piotr Stolc <socrtp@soclab.eu.org>.
19 lines
372 B
Bash
19 lines
372 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: lighttpd.sh,v 1.1.1.1 2005/09/04 06:37:05 jlam 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
|