Aahz wrote:
>>Okay. But is that something that needs to be accommodated with,
>>specifically, PID file handling? Why would a PID file ever need to be
>>on NFS storage instead of local?
>
> That's the question. You'll probably get some complaints from people
> running diskless machines, eventually
In article <87zlf5qi4z@benfinney.id.au>,
Ben Finney wrote:
>a...@pythoncraft.com (Aahz) writes:
>> In article <87iqlwvemo@benfinney.id.au>,
>> Ben Finney wrote:
>>>
>>>In the case of the ââ¬Ëlockfileââ¬â¢ library, Skip is aiming for a
>>>cross-platform solution, with atomic behavi
Cameron Simpson writes:
> […] there's plenty of occasions when I want to start a daemon, as
> me, for my own personal purposes. It doesn't do any uid/gid juggling
> or privilege dropping, but it's a perfectly reasonable thing to want
> to use your daemon module to do everything else (detach, pid
On 29Mar2009 11:37, Ben Finney wrote:
| a...@pythoncraft.com (Aahz) writes:
| > In article <87iqlwvemo@benfinney.id.au>,
| > Ben Finney wrote:
| > >In the case of the ‘lockfile’ library, Skip is aiming for a
| > >cross-platform solution, with atomic behaviour; he has implemented
| > >loc
a...@pythoncraft.com (Aahz) writes:
> In article <87iqlwvemo@benfinney.id.au>,
> Ben Finney wrote:
> >In the case of the ‘lockfile’ library, Skip is aiming for a
> >cross-platform solution, with atomic behaviour; he has implemented
> >lock acquisition with a ‘link’ operation on Unix,
In article <87iqlwvemo@benfinney.id.au>,
Ben Finney wrote:
>
>In the case of the âlockfileâ library, Skip is aiming for a
>cross-platform solution, with atomic behaviour; he has implemented
>lock acquisition with a âlinkâ operation on Unix, and a âmkdirâ
>operation on Windows.
>
>
Ben Finney writes:
> (replying in ‘comp.lang.python’ for wider feedback on this issue)
>
> On 26-Mar-2009, Francis Irving wrote:
> > ourlockfile.path = '/tmp/mydaemon.pid'
> > context = daemon.DaemonContext(
> > pidfile=ourlockfile,
> > stdout=logout,
> > stderr=logout
> > )
> >
> >
(replying in ‘comp.lang.python’ for wider feedback on this issue)
On 26-Mar-2009, Francis Irving wrote:
> On Thu, Mar 26, 2009 at 12:51:06AM +1100, Ben Finney wrote:
> > The ‘python-daemon’ distribution includes a module,
> > ‘daemon.pidlockfile’. The ‘daemon.pidlockfile.PIDLockFile’ class is
> >