Hmm reply-to-all wasn't working. Make sure you reply to the list people!
For the group, here's what I accidentally just sent to Christopher:
Right I created a script, based on the one above. It means my interpreters
are now just: /websites/launch <website-name> <thread-count>
For posterity, I'll include that at the bottom of this email.
Much nicer and it works for all my other django sites... But not this one
still! Same gig as before, if I launch it with this new script, cherokee
finds it. If I let it try to launch itself, it fails all over the place.
@Stefan: How do you mean trace? I ran cherokee-worker from a terminal and it
didn't display errors. Do I need to enable something else?
Here's my new launch file if anybody wants it:
#!/bin/sh
BASE=/websites
APP="$BASE/$1"
PIDFILE="$APP/pid"
SOCKET="$APP/sock"
if [ -f $PIDFILE ]; then
kill `cat -- $PIDFILE`
rm -f -- $PIDFILE
fi
if [ -f $SOCKET ]; then
rm -f -- $SOCKET
fi
cd $APP
/usr/bin/python2.6 manage.py runfcgi \
protocol=scgi \
method=threaded \
workdir=$APP \
socket=$SOCKET \
pidfile=$PIDFILE \
maxspare=$2
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee