summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-26 15:38:19 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-26 15:38:19 +0000
commit67b067ba4aff877860f3ced2c1c7bfd9be337bdc (patch)
tree24fd83701c451ab376b68e024c899bd4d67b7c5b /net-nds/openldap/files
parentnew function: kde_remove_flag <subdir> <flag> - removes from Makefile in / f... (diff)
downloadhistorical-67b067ba4aff877860f3ced2c1c7bfd9be337bdc.tar.gz
historical-67b067ba4aff877860f3ced2c1c7bfd9be337bdc.tar.bz2
historical-67b067ba4aff877860f3ced2c1c7bfd9be337bdc.zip
Added --pidfile /var/state/openldap/slapd.pid to files/slapd.rc6 to supress error messages when shutting doesn slapd.
Diffstat (limited to 'net-nds/openldap/files')
-rw-r--r--net-nds/openldap/files/slapd.rc64
1 files changed, 2 insertions, 2 deletions
diff --git a/net-nds/openldap/files/slapd.rc6 b/net-nds/openldap/files/slapd.rc6
index ac03793ed9de..186f5cab1489 100644
--- a/net-nds/openldap/files/slapd.rc6
+++ b/net-nds/openldap/files/slapd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd.rc6,v 1.2 2001/12/06 20:17:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd.rc6,v 1.3 2002/07/26 15:38:19 raker Exp $
depend() {
need net
@@ -15,6 +15,6 @@ start() {
stop() {
ebegin "Stopping ldap-server"
- start-stop-daemon --stop --quiet --exec /usr/lib/openldap/slapd
+ start-stop-daemon --stop --quiet ---pidfile /var/state/openldap/slapd.pid -exec /usr/lib/openldap/slapd
eend $?
}