Hello, I'm running qmail-ldap on suse 8.0 (ldap = openldap2). I'm trying to get slapd to run from /service/slapd instead of /etc/init.d/....etc. What i got so far is a /service/slapd/ directory containing a run script, a log directory and a log/run script. What I wanted to ask is, if anyone here got a similar setup and got slapd to stop logging to syslog(-ng) and use multilog instead?
my scripts are: --------------------------------------------------------------------------- qmail:/service/slapd # cat run #!/bin/sh #exit status 0 required set -e SLAPD=/usr/lib/openldap/slapd CONF=/etc/openldap/slapd.conf LOGLEVEL=256 #OPTS="-u slapd -g slapd -n slapd" OPTS="" LISTEN="ldap://127.0.0.1:389/ ldap://134.147.192.12:389/" exec $SLAPD -f $CONF -d $LOGLEVEL $OPTS -h "$LISTEN" 2>&1 exit $? qmail:/service/slapd/log # cat run #!/bin/sh set -e PREFIX=/var/log/openldap [ -d $PREFIX ] || mkdir $PREFIX exec env PATH=/opt/bin multilog \ t '*' s5000000 n10 $PREFIX/all exit $? --------------------------------------------------------------------------- bye Timm
