Sfoglia il codice sorgente

fix: Openldap startup

master
Bingen Eguzkitza 1 mese fa
parent
commit
ee7026b476
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      images/openldap/startup.sh

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

@@ -51,6 +51,7 @@ if [ "$i" = 0 ]; then
echo >&2 'LDAP init process failed.'
exit 1
fi
echo 'LDAP init process succeeded.'

function replace {
echo $1
@@ -92,7 +93,7 @@ if [ ! -z "$pid" ] && ! kill -s TERM "$pid" ; then
fi
#ps -e -o user,pid,command

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

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

Loading…
Annulla
Salva