aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/slapd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/openldap/slapd.initd')
-rw-r--r--main/openldap/slapd.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openldap/slapd.initd b/main/openldap/slapd.initd
index 23437bc45e..e05770030e 100644
--- a/main/openldap/slapd.initd
+++ b/main/openldap/slapd.initd
@@ -16,11 +16,11 @@ depend() {
}
start() {
+ checkpath --directory --owner ldap:ldap ${pidfile%/*}
if ! checkconfig -Q ; then
eerror "There is a problem with your slapd.conf!"
return 1
fi
- checkpath -d -o ldap:ldap ${pidfile%/*}
ebegin "Starting ldap-server"
[ -n "$KRB5_KTNAME" ] && export KRB5_KTNAME
eval start-stop-daemon --start \