[Pkg-openldap-devel] [openldap] 16/29: r1562 at pulsar: torsten | 2005-03-26 01:38:28 +0100 * debian/slapd.init: Print command line if starting a daemon failed.
Timo Aaltonen
tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to annotated tag 2.2.23-0.pre6
in repository openldap.
commit 4b05897a348a5d89c777ddd50dd7681ed4b34fdc
Author: Torsten Landschoff <torsten at debian.org>
Date: Sat Mar 26 00:58:13 2005 +0000
r1562 at pulsar: torsten | 2005-03-26 01:38:28 +0100
* debian/slapd.init: Print command line if starting a daemon failed.
---
debian/changelog | 1 +
debian/slapd.init | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bc6bb83..4ffcc71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ openldap2.2 (2.2.23-0.pre6) experimental; urgency=low
as incompatible.
Carlo Contavalli <ccontavalli at commedia.it>:
+ * debian/slapd.init: Print command line if starting a daemon failed.
--
diff --git a/debian/slapd.init b/debian/slapd.init
index 0ae8963..edff7a3 100644
--- a/debian/slapd.init
+++ b/debian/slapd.init
@@ -81,6 +81,28 @@ wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).
EOF
+
+ if [ -n "$SLURPD_OPTIONS" -o \
+ -n "$SLAPD_OPTIONS" -o \
+ -n "$SLAPD_SERVICES" ]; then
+ cat << EOF
+
+Below, you can find the command line options used by this script to
+run slapd and slurpd. Do not forget to specify those options if you
+want to look to debugging output:
+EOF
+ if [ -z "$SLAPD_SERVICES" ]; then
+ if [ -n "$SLAPD_OPTIONS" ]; then
+ echo " slapd $SLAPD_OPTIONS"
+ fi
+ else
+ echo " slapd -h '$SLAPD_SERVICES' $SLAPD_OPTIONS"
+ fi
+
+ if [ "$SLURPD" = "yes" -a -n "$SLURPD_OPTIONS" ]; then
+ echo " slurpd $SLURPD_OPTIONS"
+ fi
+ fi
fi
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git
More information about the Pkg-openldap-devel
mailing list