I cannot seem to get
    manage.py runfcgi pidfile=myfile.pid
to work unless I have
    daemonize=false
 as well. I haven't started investigating what actually happens -
thought I'd hear if I am doing something stupid first.

Django is [EMAIL PROTECTED], Debian Etch, python 2.4.4, flup 0.2126-1

Sample output below. Any idea why this doesn't work.

Nis

# This is how I've been doing it until now:

$ ./manage.py runfcgi host=127.0.0.1 port=8001
$ netstat -l |grep 8001
tcp        0      0 nohouse.cust.gigah:8001 *:*                     LISTEN

# This doesn't work for some reason

$ ./manage.py runfcgi host=127.0.0.1 port=8001 pidfile=fcgi.pid
$ netstat -l |grep 8001
$ ll fcgi.pid
ls: fcgi.pid: No such file or directory

# This does work.

$ ./manage.py runfcgi host=127.0.0.1 port=8001 pidfile=fcgi.pid
daemonize=false &
[1] 9309
$ netstat -l |grep 8001
tcp        0      0 nohouse.cust.gigah:8001 *:*                     LISTEN
$ ll fcgi.pid
-rw-r--r-- 1 nohouse nohouse 5 2007-07-20 07:49 fcgi.pid



--~--~---------~--~----~------------~-------~--~----~
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