role of uxwdog?

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

 



uffe at loop.to wrote:

> 
> If ns-slapd is started with -d<error level> it will not fork-and-exit 
> and it logs errors to stdout.  That's how to launch ns-slapd in debugger 
> and avoid having to follow children.  You can use the regular 
> start-slapd script to pass arguments, like "start-slapd -d0" for normal 
> log level.

Hi,
  While that does work, you don't get any of the normal accesslog 
information, only errors. That is not really acceptable for everyone, at 
least not for me.

  So, I would say that if you don't care about access logging at all, 
and want to run slapd under daemontools, then you could start it like this:



#!/bin/sh
#
# daemontools run script for ns-slapd service
#
exec 2>&1
echo "Starting ns-slapd..."
exec \
     cd /opt/fedora-ds/bin/slapd/server; \
     ./ns-slapd \
     -D /opt/fedora-ds/slapd-foo \
     -d 0


--
mike




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux