www-servers/lighttpd: Prevent hang in initd

Prevents a hang on read-only filesystems, fixing bug 598468

Thanks, Marek Behun!

Gentoo-Bug: 598468
Gentoo-Bug-URL: https://bugs.gentoo.org/598468

Package-Manager: portage-2.3.2
This commit is contained in:
Daniel Campbell
2016-11-20 02:17:29 -08:00
parent 761f99ae25
commit 258e3475e0

View File

@@ -5,7 +5,7 @@
extra_started_commands="reload graceful"
LIGHTTPD_PID="$($(which lighttpd) -pf ${LIGHTTPD_CONF} | grep pid | cut -d '=' -f 2 | tr -d \\\" | tr -d [:space:])"
LIGHTTPD_PID="$(grep pid ${LIGHTTPD_CONF} | cut -d '=' -f 2 | tr -d \\\" | tr -d [:space:])"
depend() {
need net