[Catalyst-dev] Patch for app_server.pl to daemonise

Ton Voon ton.voon at altinity.com
Wed Oct 18 12:27:47 CEST 2006


Good idea, Kieran. Document patch attached: 
Will the daemonize patch be accepted into the distribution?


On 14 Oct 2006, at 13:24, Kieren Diment wrote:

> Any chance of a doc patch indicating how you set up the proxy as  
> well please?
>
> On 11/10/06, Ton Voon <ton.voon at altinity.com > wrote:
> Hi!
>
> Please find a patch attached. It amends the Helper.pm scripts so  
> that app_server.pl includes options to daemonise the HTTP engine.  
> I've had to use -pidfile as the option (since -p is already used  
> for the port) and -background and -b for the daemonise (since -d is  
> already used for debug).
>
> The patch to HTTP.pm is similar to the code used in FastCGI.pm to  
> write the pidfile and fork and close file descriptors.
>
> Since our app is used internally at client sites, with a relatively  
> small number of hits, the development server (behind an apache  
> proxy) is simpler to setup than a fastcgi server.


http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061018/d2900f65/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cookbook_with_daemonised_dev_server.patch
Type: application/octet-stream
Size: 1946 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061018/d2900f65/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061018/d2900f65/attachment-0001.htm 


More information about the Catalyst-dev mailing list