Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333925 - www-servers/cherokee-1.0.8: fix initd/runscript reload action
Summary: www-servers/cherokee-1.0.8: fix initd/runscript reload action
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 09:53 UTC by Daniel Schömer
Modified: 2011-03-02 12:30 UTC (History)
1 user (show)

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


Attachments
Patch to fix the reload action. (cherokee-initd-0.99.23.patch,533 bytes, patch)
2010-08-22 09:54 UTC, Daniel Schömer
Details | Diff
initd/runscript with additional "gracefull" action (cherokee-initd-1.0.8,719 bytes, text/plain)
2010-08-22 09:58 UTC, Daniel Schömer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schömer 2010-08-22 09:53:42 UTC
The reload action in initd/runscript for cherokee does not reload/restart the cherokee webserver.

Reproducible: Always

Steps to Reproduce:
1. $ sudo /etc/init.d/cherokee start
2. $ sudo /etc/init.d/cherokee reload

Actual Results:  
> cherokee: unknown function `reload'

The reload action is not found. 

Expected Results:  
> Restarting Cherokee Web Server and closing all open connections ... [ ok ]

The reload action restarts the cherokee web server.
Comment 1 Daniel Schömer 2010-08-22 09:54:53 UTC
Created attachment 243997 [details, diff]
Patch to fix the reload action.

This fixes the initd/runscript reload action.
Comment 2 Daniel Schömer 2010-08-22 09:58:40 UTC
Created attachment 243999 [details]
initd/runscript with additional "gracefull" action

Added a "gracefull" action to restart the cherokee web server gracefully, just like the one for www-servers/apache.

Cherokee accepts signal HUP to restart without closing existing connections. The gracefull action sends HUP to the cherokee process.
Comment 3 José Alberto Suárez López (RETIRED) gentoo-dev 2011-02-22 21:46:11 UTC
Now in repo, thanks.
Comment 4 Dean Matzkov 2011-02-22 22:24:54 UTC
I might just be nit-picking, but I reckon that the action's name in initd-1.2.0 should be "graceful", not "gracefull".

Reason being that the former is the proper way to spell it, and people would probably expect that name too, as in cherokee-admin, the option to gracefully restart the server is labeled "Graceful restart".
Comment 5 José Alberto Suárez López (RETIRED) gentoo-dev 2011-03-02 12:30:30 UTC
typo fixed in 2.1