packages/net/lighttpd/files/lighttpd.init
W. Michael Petullo 4ec9d99303 lighttpd: include some updates from old repository package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-09-20 20:28:03 -04:00

16 lines
252 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
SERVICE_USE_PID=1
START=50
start() {
mkdir -m 0755 -p /var/log/lighttpd
service_start /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
}
stop() {
service_stop /usr/sbin/lighttpd
}