entrypoint.sh 364 B

1234567891011121314151617
  1. #!/bin/bash
  2. echo "entrypoint run..."
  3. default_hosts(){
  4. echo "**********************start /etc/hosts*****************************************"
  5. cat /etc/hosts
  6. echo ------------------------end /etc/hosts-----------------------------------------
  7. }
  8. default_hosts
  9. echo "default-jvm: $JVM"
  10. sed -i "109i JAVA_OPTS=\"${JVM}\"" ./bin/catalina.sh
  11. sh bin/catalina.sh run