Vadim Surkov il y a 5 ans
Parent
commit
a4d68c0866
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -31,7 +31,7 @@ echo "de.javakaffee.web.msm.level = ${DEBUG}" >> /opt/tomcat/conf/logging.proper
 echo "net.spy.memcached.level = ${DEBUG}" >> /opt/tomcat/conf/logging.properties
 
 # Включение аунтификации по smb протоколу, https://corp.sdsys.ru/trac/sds/ticket/51455
-if [[ ! -z $SMB_USERNAME]]; then
+if [[ ! -z $SMB_USERNAME ]]; then
   sed -i "s/auth-enable: false/auth-enable: true/" /etc/web-laboratory/application.conf
   sed -i "s/username: \"\"/username: \"${SMB_USERNAME}\"/" /etc/web-laboratory/application.conf
   sed -i "s/password: \"\"/password: \"${SMB_PASSWORD}\"/" /etc/web-laboratory/application.conf