Re: Slapd command line usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike Mueller wrote:
> Hi all. 
> 
> I am looking to run the slapd process in the foreground on a Unix
> system, so I can be notified immediately if it dies...
> 
> Looking at the usage of the "start-slapd" command:
> usage: ns-slapd -D instancedir [-d debuglevel] [-i pidlogfile] [-v] [-V]
> 
> There's no real guidance as to how the -d option works (i.e. what levels
> it supports), but experimentally, we've determined that -d 0 will run
> the process and not fork/exit into the background.  Is this behavior
> known, and should we count on it?  Is there a better way to get the
> slapd to stay in the foreground?  Finally, what debug levels are
> available, and what do they mean?
> 
> Thanks!
> 

See this howto I wrote for details about running in the foreground:

http://directory.fedora.redhat.com/wiki/Howto:Daemontools


And with daemontools, it will be restarted immediately if it dies.


Mike
-- 
http://www.netauth.com - LDAP Directory Consulting

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux