Please share spawn fcgi run file for multiple python backends it is not working with spawn-fcgi since spawnfcgi spawns a child and exits so supervise keeps trying to spawn childs continuously
service/run #!/bin/sh cd /home/mark/work/code exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9500 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log & exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9501 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log & exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9502 > /tmp/restart.log 2>&1 & exec cat /tmp/restart.log & exec /opt/local/bin/spawn-fcgi -f /home/mark/work/code/code.py -p 9503 > /tmp/restart.log 2>&1 ^ exec cat /tmp/restart.log & ~ Starting the backends supervise service Error it keeps trying to restart the backends since On 1/29/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > nice > can u share the script you use to start > webpy code.py in fastcgi mode ie the ./run file > and the cfg file for supervise or svc > thanks a lot > > On 1/29/08, Aaron Swartz <[EMAIL PROTECTED]> wrote: > > > > > > I use supervise: > > > > http://cr.yp.to/daemontools.html > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
