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

Kieren Diment diment at gmail.com
Wed Oct 18 13:41:45 CEST 2006


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
>
>
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20061018/4d739632/attachment.htm 


More information about the Catalyst-dev mailing list