[Catalyst] Re: script/myapp_fastcgi.pl -d vs. nohup
ddascalescu+catalyst at gmail.com
Fri Jun 6 10:23:50 BST 2008
Forgot to mention: in both cases, I launch myapp_fastcgi.pl with the
On Fri, Jun 6, 2008 at 2:22 AM, Dan Dascalescu
<ddascalescu+catalyst at gmail.com> wrote:
> What is the difference between launching `script/myapp_fastcgi.pl
> -daemon` and running `nohup script/myapp_fastcgi.pl &' ?
> I want to be able to run fastcgi.pl -l in the background, with
> debugging enabled, and log its STDERR. I tried
> script/myapp_fastcgi.pl -l 127.0.0.1:55900 -d 2>>myapp.stderr
> but only the initial startup screen ended up in myapp.stderr. No debug
> information about requests was written to the file.
> Running the same application like this:
> script/myapp_fastcgi.pl -l 127.0.0.1:55900 2>>myapp.stderr &
> Works as expected. Even after I log out (without running nohup), the
> app correctly logs requests to myapp.stderr. I'm writing a tutorial on
> Catalyst deployment with lighttpd and fastcgi at
> (please feel free to amend) and want to get a good understanding of
> this issue.
More information about the Catalyst