14 messages in ru.sysoev.nginxRe: Nginx+daemontools
FromSent OnAttachments
mobi...@public.gmane.orgJan 30, 2008 3:55 pm 
Cliff WellsJan 30, 2008 4:03 pm 
Casey RaymanJan 30, 2008 4:06 pm 
mobi...@public.gmane.orgJan 30, 2008 4:07 pm 
mobi...@public.gmane.orgJan 30, 2008 4:10 pm 
Eden LiJan 30, 2008 4:52 pm 
mobi...@public.gmane.orgJan 30, 2008 5:56 pm 
mobi...@public.gmane.orgJan 30, 2008 6:19 pm 
Casey RaymanJan 30, 2008 7:43 pm 
Igor SysoevJan 30, 2008 10:04 pm 
Grzegorz NosekJan 31, 2008 12:08 am 
ThomasJan 31, 2008 1:46 am 
Mike LottJan 31, 2008 3:47 am 
ThomasJan 31, 2008 4:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Nginx+daemontoolsActions...
From:Thomas (iamk@public.gmane.org)
Date:Jan 31, 2008 1:46:37 am
List:ru.sysoev.nginx

Hi,

Here is a run template you can use, credits go to Allan Parker from this mailing-list. I use a same type of file, customize it to your needs.

---------------------------------------- #!/bin/sh

CHILDREN="25"

FCGI_HOST=127.0.0.1 FCGI_USER=php FCGI_GROUP=php FCGI_BIN=/usr/bin/php-cgi FCGI_PORT=1705

test -x $FCGI_BIN || { echo "$FCGI_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; }

export SHELL="/bin/bash" exec /usr/bin/spawn-fcgi -n \ -f $FCGI_BIN \ -a $FCGI_HOST \ -p $FCGI_PORT \ -u $FCGI_USER \ -g $FCGI_GROUP \ -C $CHILDREN