From: tangonights@yahoo.it
To: gentoo-server@lists.gentoo.org
Subject: [gentoo-server] openldap init script vs slapd daemon
Date: Tue, 12 Oct 2010 01:18:16 +0200 [thread overview]
Message-ID: <201010120118.17100.tangonights@yahoo.it> (raw)
Hi everybody!
I just installed a ldap server, but no way to get the init script working,
while the daemon works perfectly:
# /usr/lib/openldap/slapd -u ldap -g ldap
runs ok, but the script don't:
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd2,v 1.1
2010/04/11 15:14:48 jokey Exp $
depend() {
need net
before dbus hald avahi-daemon
provide ldap
}
start() {
ebegin "Starting ldap-server"
eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --
exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}"
eend $?
}
stop() {
ebegin "Stopping ldap-server"
start-stop-daemon --stop --signal 2 --quiet --pidfile
/var/run/openldap/slapd.pid
eend $?
}
could anybody tell me where the (fatal) differences lie?
thanks,
Stefano
next reply other threads:[~2010-10-12 0:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 23:18 tangonights [this message]
2010-10-12 6:59 ` [gentoo-server] openldap init script vs slapd daemon Denis Bondar
2010-10-12 8:25 ` tangonights
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201010120118.17100.tangonights@yahoo.it \
--to=tangonights@yahoo.it \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox