Advertisement
acxl

code base version 2.0

Dec 14th, 2020
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. JAR_NAME="PATH_TOYOUR_JAR"
  4.  
  5. JVM_OPTS=""
  6. JVM_OPTS="$JVM_OPTS -Xmx512M -Xms512M"
  7. JVM_OPTS="$JVM_OPTS -Dspring.datasource.url={url}"
  8. JVM_OPTS="$JVM_OPTS -Dspring.datasource.username={username}"
  9. JVM_OPTS="$JVM_OPTS -Dspring.datasource.password={password}"
  10.  
  11. JVM_OPTS="$JVM_OPTS -Dlogging.level.org.hibernate.SQL=OFF"
  12. JVM_OPTS="$JVM_OPTS -Dlogging.level.org.hibernate.type.descriptor.sql=OFF"
  13.  
  14. java $JVM_OPTS -jar $JAR_NAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement