123456 |
- #!/usr/bin/env bash
- sed -i 's/ >> "$CATALINA_OUT" 2>\&1 "\&"/ "\&"/' /opt/tomcat8/bin/catalina.sh
- sed -i 's/touch "$CATALINA_OUT"/#touch "$CATALINA_OUT"/' /opt/tomcat8/bin/catalina.sh
- #sed -i 's/.handlers = 1catalina.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler/.handlers = java.util.logging.ConsoleHandler/' /opt/tomcat8/conf/logging.properties
- exec "$@"
|