Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 366811
Collapse All | Expand All

(-)lighttpd.confd (-1 / +1 lines)
Lines 8-12 Link Here
8
LIGHTTPD_CONF="/etc/lighttpd/lighttpd.conf"
8
LIGHTTPD_CONF="/etc/lighttpd/lighttpd.conf"
9
9
10
# Location of the lighttpd pid file
10
# Location of the lighttpd pid file
11
LIGHTTPD_PID="/var/run/lighttpd.pid"
11
LIGHTTPD_PID="$(/usr/bin/awk '/^server.pid-file/{s=$3};{sub("\"","",s)};END{print s}' ${LIGHTTPD_CONF})"
12
12
(-)lighttpd.initd (+5 lines)
Lines 18-23 Link Here
18
		return 1
18
		return 1
19
	fi
19
	fi
20
20
21
	if [ -z "${LIGHTTPD_PID}" ] ; then
22
		ewarn "servber.pid-file variable in ${LIHTTPD_CONF}"
23
		ewarn "is not set. Falling back to lighttpd.pid"
24
		LIGHTTPD_PID="lighttpd.pid"
25
	fi
21
	/usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null
26
	/usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null
22
}
27
}
23
28

Return to bug 366811