Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160939 - www-servers/lighttpd: graceful restart for init script
Summary: www-servers/lighttpd: graceful restart for init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Elfyn McBratney (beu) (RETIRED)
URL:
Whiteboard:
Keywords:
: 162520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-08 16:51 UTC by Christian Hoffmann (RETIRED)
Modified: 2007-01-17 11:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for graceful restart option to lighttpd's init script (lighttpd-initd.patch,1013 bytes, patch)
2007-01-08 16:52 UTC, Christian Hoffmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hoffmann (RETIRED) gentoo-dev 2007-01-08 16:51:26 UTC
Lighttpd has been supporting the graceful restart feature (maybe known from apache) since version 1.4.3 (~Sept 2005) and the Gentoo init script still doesn't implement it.
Official description: http://blog.lighttpd.net/articles/2005/09/02/graceful-restart

It would be nice to see this feature in the tree :)

Reproducible: Always

Steps to Reproduce:
Comment 1 Christian Hoffmann (RETIRED) gentoo-dev 2007-01-08 16:52:44 UTC
Created attachment 106055 [details, diff]
Patch for graceful restart option to lighttpd's init script

I attached a small patch to add the functionality to the init script, but I don't know whether to use `start-stop-daemon` (which hangs for ~5secs while gracefully stopping lighttpd, I don't know why) just to be more consistent or `kill` (which seems cleaner to me and works fine).
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-09 18:17:59 UTC
in cvs for 1.4.13-r1.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 11:32:50 UTC
*** Bug 162520 has been marked as a duplicate of this bug. ***