blob: 53215986c3c1008dbdf99354e5ed98a79e85dd9b (
plain)
1
2
3
4
5
6
7
8
9
10
|
DAEMON_NAME="lighttpd"
DAEMON_CONF="/etc/lighttpd/lighttpd.conf"
DAEMON_PATH="/usr/sbin/lighttpd"
# this greps the error-log which is set in the lighttpd.conf
# override it by setting it to a fix path
DAEMON_ERRLOG=`sed -n \
-e '/server\.errorlog/p' ${DAEMON_CONF} \
| sed -e '/^ *#.*/d' \
| sed -e 's/^.*"\(.*\)".*$/\1/'`
# DAEMON_ERRLOG="/var/log/lighttpd/error.log"
|