Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125241 - www-servers/lighttpd in logrotate use kill -hup to cycle logfiles insetad of doing restart
Summary: www-servers/lighttpd in logrotate use kill -hup to cycle logfiles insetad of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 07:23 UTC by david somers
Modified: 2006-05-30 12:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david somers 2006-03-06 07:23:05 UTC
lighttpd will respond to kill -hup and reload its config (and reopen its log files). Therefore, please add a reload option into init.d/lighttpd (and also tweak logrotate.d/lighttpd to call reload instead of restart).

BTW, when doing a restart/reload on lighttpd, it might be a good idea to also do pkill -u lighttpd to ensure that any runaway fastcgi jobs, etc., are also zapped immediately :-)
Comment 1 david somers 2006-03-06 10:10:54 UTC
Argh. Sorry. kill -hup just recycles lighty's log files, so it can be used by logrotate instead of doing a restart.
Comment 2 david somers 2006-03-06 10:12:42 UTC
Argh. Sorry. kill -hup just recycles lighty's log files, so it can be used by logrotate instead of doing a restart.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-05-30 12:55:28 UTC
in cvs - thanks!