On Jul 22, 10:01 pm, "Evan H. Carmi" <[EMAIL PROTECTED]>
wrote:
> Florian Apolloner wrote:
> > After editing your code, you will need to touch fcgi file
>
> Can you be more explicit. I know the location of a lighttpd.sh init
> file. But I am not sure if there is a fcgi file somewhere?
>
> Evan

Sry, mixxed something up :)
Kill the django server (pid should be in your pid file) and restart
the django server.
Use something like this:

#!/bin/bash

# Replace these three settings.
PROJDIR="/home/user/myproject"
PIDFILE="$PROJDIR/mysite.pid"
SOCKET="$PROJDIR/mysite.sock"

cd $PROJDIR
if [ -f $PIDFILE ]; then
    kill `cat -- $PIDFILE`
    rm -f -- $PIDFILE
fi

exec /usr/bin/env - \
  PYTHONPATH="../python:.." \
  ./manage.py runfcgi socket=$SOCKET pidfile=$PIDFILE

This will kill your django server and restart it...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to