> I use a simple script that looks like this:
>
> cd /path/to/mytgapp
> nohup /usr/local/bin/python2.4 start-mytgapp.py prod.cfg &
> echo $! > pid

Thanks! This works fine in CentOS. Also, I did not know that if run
with prod.cfg, there is only one process to kill. That makes life
simpler, if we run the program like this

cd /path/to/mytgapp
./start-mytgapp.py prod.cfg &

then, when needed to kill, we can get the process id, by something
like:

ps -A | grep start-mytgapp

thanks
Sanjay


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

Reply via email to