entrypoint.sh 572 B

123456789101112
  1. #!/usr/bin/env bash
  2. # Создание символических ссылок
  3. [ -f /configs/application.conf ] && ln -sf /configs/application.conf /etc/web-laboratory/application.conf
  4. [ -f /configs/ROOT.xml ] && ln -sf /configs/ROOT.xml /etc/web-laboratory/ROOT.xml
  5. # Добавлено логирование для manager memcached. Redmine 107228
  6. echo "de.javakaffee.web.msm.level = ${DEBUG}" >> /opt/tomcat/conf/logging.properties
  7. echo "net.spy.memcached.level = ${DEBUG}" >> /opt/tomcat/conf/logging.properties
  8. source /etc/init.d/web-laboratory status
  9. exec "$@"