I'm trying to set up supervisor to control my TG 1.0 app.

supervisor starts the app fine.  I see that my app forks off another
child process.  So when I try to stop my app or restart it, the forked
off process is not stopped or restarted.

What am I doing wrong?

Here's the relevant section of my supervisord.conf file:

[program:webapp]
command=/home/matt/projects/staffknex/bazman/source-ve-and-start-myapp

and that source-ve-and-start-myapp script looks like this:

$ cat ~/projects/myapp/source-ve-and-start-myapp
#!/bin/bash

source /home/matt/virtualenvs/staffknex/bin/activate
exec /home/matt/projects/myapp/start-myapp.py /home/matt/projects/
myapp/sprout.cfg
--~--~---------~--~----~------------~-------~--~----~
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