On Fri, Jun 01, 2007 at 04:45:32PM -0700, Russ Allbery wrote: > > Stanford has for some years used an init script that declines to start > slapd if a file exists on the local system (we use /etc/noldap and > /etc/noservices for various reasons). My inclination with this bug is to > add another option to /etc/default/slapd that specifies a sentinel file, > something like: > > # If this variable is set and the file it points to exists, the init > # script will not start slapd. Useful for temporarily disabling services > # for whatever reason. > #SLAPD_SENTINEL_FILE=/etc/noldap > What is the advantage of this over something like "START=yes" or "START=no" in the /etc/default/foobar file? Personally, I think that approach is cleaner and I believe is more common in Debian. Of course, I am not part of the OpenLDAP maintenance team, so feel free to ignore my opinion altogether.
Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature