|
@@ -34,6 +34,7 @@ echo "net.spy.memcached.level = ${DEBUG}" >> /opt/tomcat/conf/logging.properties
|
|
|
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/domain: \"\"/domain: \"${SMB_DOMAIN}\"/" /etc/web-laboratory/application.conf
|
|
|
sed -i "s/password: \"\"/password: \"${SMB_PASSWORD}\"/" /etc/web-laboratory/application.conf
|
|
|
fi
|
|
|
|