Re: Organizing a Quixote/Durus multiprocess application
"Mike Orr" <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user,gmane.comp.python.durus |
|---|---|
| Message-ID | <[email protected]> |
On 8/31/06, Mike Orr <[email protected]> wrote: > It took a while to get the file ownerships and umask correct, but I > finally got it working as user 'apache' from the command line. > But if I start it as a daemon and then stop it, it doesn't kill the > Durus server. That must be because it's using SIGTERM instead of > SIGINT. I added some code to kill it manually if it's still running, > but that doesn't help. I remembered that session2 has a DirectorySessionStore class that doesn't need a subprocess, so I went with that instead. That shrunk the size of my startup script by 25%. :) -- Mike Orr <[email protected]>