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's a run script that would do: > > #!/bin/sh > exec 2>&1 > exec /usr/sbin/ldapd -d > > [1] http://cr.yp.to/daemontools.html > > Andy >
omagad I did not read what I just read... -- Gilles Chehade http://www.poolp.org

