Re: Re: Catalyst with Lighttpd

Written by Ash Berlin (bfc7465ebdca5337) [SIGNED] on Mon Oct 1 09:11:30 2007

I use daemontools as described in the 2006 Catalyst Advent Calendar FastCGI Deployment with Bells on

Basically I have

/service/myapp-fcgi1
/service/myapp-fcgi2

Each run script is the same bar the port number it listens on. I tried to find a way to have the same service directory symlinked into /service twice and have the script detect which one it was invoked as, but it seems that daemontools does not provide this info (as it follows the symlinks properly before executing the run script)

Pretty straight forward from then on.