branch Attitude Adjustment packages
[12.09/packages.git] / net / lighttpd / files / lighttpd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 SERVICE_USE_PID=1
5
6 START=50
7
8 start() {
9         mkdir -m 0755 -p /var/log/lighttpd
10         service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
11 }
12
13 stop() {
14         service_stop /usr/sbin/lighttpd
15 }
16