I'd like to run a Python / Django program as a init.d startup script.
The script line is:

python manage.py runserver 192.168.0.2:8181

The problem: when it runs it spits out messages to the console and it
stops the boot process until I type Ctrl C.

Is there any command or hack to simply run it in background without
asking for user to type Ctrl-C to stop it ?

1. I know that there are way to integrate python with apache  (http://
www.djangoproject.com/documentation/modpython/ ) but I don't want to
install apache on that machine.

You can say: it will became slow... And I will answer: the application
will have just two users that will enter ocasionally. That' why I
choose python/django, I don't want to install tomcats, tomdogs, etc.

2. I tried also to use it in background (using &) but it still asks
for Ctrl-C...

Any comments or suggestion are welcome!
Even if you have to say: you have no choice - you have to install
apache...

Thanks in advance,
Josir Gomes
Rio de Janeiro - Brasil


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to