projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761f99a
)
www-servers/lighttpd: Prevent hang in initd
author
Daniel Campbell
<zlg@gentoo.org>
Sun, 20 Nov 2016 10:17:29 +0000
(
02:17
-0800)
committer
Daniel Campbell
<zlg@gentoo.org>
Sun, 20 Nov 2016 10:17:56 +0000
(
02:17
-0800)
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
www-servers/lighttpd/files/lighttpd.initd
patch
|
blob
|
history
diff --git
a/www-servers/lighttpd/files/lighttpd.initd
b/www-servers/lighttpd/files/lighttpd.initd
index e345f726f9bdf9a127059860f5cb55406239eaae..1a4fa561e16b480a269e548bd1f839ae09efd50b 100644
(file)
--- a/
www-servers/lighttpd/files/lighttpd.initd
+++ b/
www-servers/lighttpd/files/lighttpd.initd
@@
-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