Re: pid file for ldapd(8)

2011-05-28 Thread Gilles Chehade
On Sat, May 28, 2011 at 12:09:31PM -0600, Andy Bradford wrote: > Thus said Joel Carnat on Fri, 27 May 2011 14:55:23 +0200: > > > Is there a way to tell ldapd(8) to write it's PID in "/var/run" ? > > One way of dealing with this is using supervise[1] and do away grep/pid > files altogether. Here'

Re: pid file for ldapd(8)

2011-05-28 Thread Andy Bradford
Thus said Joel Carnat on Fri, 27 May 2011 14:55:23 +0200: > Is there a way to tell ldapd(8) to write it's PID in "/var/run" ? One way of dealing with this is using supervise[1] and do away grep/pid files altogether. Here's a run script that would do: #!/bin/sh exec 2>&1 exec /usr/sbin/ldapd -d

Re: pid file for ldapd(8)

2011-05-27 Thread Nick Holland
On 05/27/2011 08:55 AM, Joel Carnat wrote: Hi, Is there a way to tell ldapd(8) to write it's PID in "/var/run" ? why? OpenBSD isn't too fond of PID files... Nick.

Re: pid file for ldapd(8)

2011-05-27 Thread Martin Hedenfalk
27 maj 2011 kl. 14.55 skrev Joel Carnat: > Hi, > > Is there a way to tell ldapd(8) to write it's PID in "/var/run" ? No. You can use 'pgrep ldapd' instead. .martin > TIA, > Jo

pid file for ldapd(8)

2011-05-27 Thread Joel Carnat
Hi, Is there a way to tell ldapd(8) to write it's PID in "/var/run" ? TIA, Jo