Explorar o código

Honor LDAP_LOG_LEVEL on startup

Brad Durrow %!s(int64=9) %!d(string=hai) anos
pai
achega
8b38537cd5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      image/service/slapd/startup.sh

+ 1 - 1
image/service/slapd/startup.sh

@@ -123,7 +123,7 @@ EOF
 
   # start OpenLDAP
   log-helper info "Start OpenLDAP..."
-  slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap
+  slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
 
 
   #