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

Ton Voon ton.voon at altinity.com
Wed Oct 18 14:28:46 CEST 2006


Sorry, I missed those discussions. Can you summarise the arguments?


On 18 Oct 2006, at 12:41, Kieren Diment wrote:

> Thanks, applied (after some debate as to how advisable it is to do  
> this)
>
> On 18/10/06, Ton Voon <ton.voon at altinity.com > wrote:
> 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/44227cee/attachment-0001.htm 


More information about the Catalyst-dev mailing list