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.
Created attachment 243997 [details, diff] Patch to fix the reload action. This fixes the initd/runscript reload action.
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.
Now in repo, thanks.
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".
typo fixed in 2.1