All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tools.horreum-backend.0.15.0.source-code.horreum.sh Maven / Gradle / Ivy

There is a newer version: 0.15.3
Show newest version
#!/bin/sh

JAVA_OPTIONS="-Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.security.egd=file:/dev/urandom $JAVA_OPTIONS"
if [ -n "$QUARKUS_DATASOURCE_USERNAME" ]; then
  # When the property is set using environment variables it is not correctly propagated
  # to Liquibase changeLog.xml
  JAVA_OPTIONS="$JAVA_OPTIONS -Dquarkus.datasource.username=$QUARKUS_DATASOURCE_USERNAME"
fi
if [ -n "$HORREUM_DB_SECRET" ]; then
  # Same as above, for Liquibase.
  JAVA_OPTIONS="$JAVA_OPTIONS -Dhorreum.db.secret=$HORREUM_DB_SECRET"
fi

echo "Starting Horreum with JAVA_OPTIONS: $JAVA_OPTIONS"
java $JAVA_OPTIONS -jar quarkus-run.jar




© 2015 - 2024 Weber Informatics LLC | Privacy Policy