Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- JAR_NAME="PATH_TOYOUR_JAR"
- JVM_OPTS=""
- JVM_OPTS="$JVM_OPTS -Xmx512M -Xms512M"
- JVM_OPTS="$JVM_OPTS -Dspring.datasource.url={url}"
- JVM_OPTS="$JVM_OPTS -Dspring.datasource.username={username}"
- JVM_OPTS="$JVM_OPTS -Dspring.datasource.password={password}"
- JVM_OPTS="$JVM_OPTS -Dlogging.level.org.hibernate.SQL=OFF"
- JVM_OPTS="$JVM_OPTS -Dlogging.level.org.hibernate.type.descriptor.sql=OFF"
- java $JVM_OPTS -jar $JAR_NAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement