Re: python-daemon and upstart

2009-11-14 Thread Paul Rudin
Paul Rudin writes: > > So I would have expected it to be necessary in this case. Maybe this is > more an upstart issue than a python-daemon one - not sure. Aha - so I discover that if detach_process is not explicitly passed to the DaemonContext initialiser it tries to guess whether it ne

Re: python-daemon and upstart

2009-11-14 Thread Paul Rudin
Paul Rudin writes: > Ben Finney writes: > >> Paul Rudin writes: >>> description "test daemon" >>> expect daemon >>> chdir /tmp >>> exec /tmp/testdaemon.py Further experimentation reveals that by omitting the "expect daemon" stanza everything works fine. But I'm still a confused - the manpage

Re: python-daemon and upstart

2009-11-14 Thread Paul Rudin
Ben Finney writes: > Paul Rudin writes: > >> I'm experimenting with the daemon module >> and upstart >> . > > First: Thank you for using ‘python-daemon’; it's getting more widespread > use all the time, which is really help