Browse Source

fix: Openldap startup

master
Bingen Eguzkitza 2 months ago
parent
commit
ee7026b476
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      images/openldap/startup.sh

+ 2
- 1
images/openldap/startup.sh View File

echo >&2 'LDAP init process failed.' echo >&2 'LDAP init process failed.'
exit 1 exit 1
fi fi
echo 'LDAP init process succeeded.'


function replace { function replace {
echo $1 echo $1
fi fi
#ps -e -o user,pid,command #ps -e -o user,pid,command


rm -Rf /tmp/data
#rm -Rf /tmp/data


echo "Restarting server" echo "Restarting server"
/usr/sbin/slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d -d${DEBUG_LEVEL} /usr/sbin/slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d -d${DEBUG_LEVEL}

Loading…
Cancel
Save