diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-02 09:50:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-02 09:50:56 +0000 |
commit | f10bce070b3bea6cfad50c28c94561df9d7c271a (patch) | |
tree | ff838bd7056318e5b7bcbb61b149bd6f631ec2c2 /main/openldap/slapd.initd | |
parent | d2ce688a9d4947d6632c9b06e5b2f9b1d3244820 (diff) | |
download | aports-f10bce070b3bea6cfad50c28c94561df9d7c271a.tar.bz2 aports-f10bce070b3bea6cfad50c28c94561df9d7c271a.tar.xz |
main/openldap: create pid dir before checking config
ref #2128
Diffstat (limited to 'main/openldap/slapd.initd')
-rw-r--r-- | main/openldap/slapd.initd | 2 |
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 \ |