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

Reply via email to