diff options
author | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
commit | bf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch) | |
tree | f9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /core/openldap/slapd | |
parent | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff) |
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'core/openldap/slapd')
-rwxr-xr-x | core/openldap/slapd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/openldap/slapd b/core/openldap/slapd index 5156b4d61..4f212da66 100755 --- a/core/openldap/slapd +++ b/core/openldap/slapd @@ -9,6 +9,7 @@ PID=`pidof -o %PPID /usr/sbin/slapd` case "$1" in start) stat_busy "Starting OpenLDAP" + [ ! -d /run/openldap ] && install -d -m755 -o ldap -g ldap /run/openldap if [ -z "$PID" ]; then if [ -z "$SLAPD_SERVICES" ]; then /usr/sbin/slapd -u ldap -g ldap $SLAPD_OPTIONS |