Skip to content

Instantly share code, notes, and snippets.

@TharmiganK
Created August 1, 2023 06:52
Show Gist options
  • Save TharmiganK/ed452bf02ce2b555107233f1a7b35ba9 to your computer and use it in GitHub Desktop.
Save TharmiganK/ed452bf02ce2b555107233f1a7b35ba9 to your computer and use it in GitHub Desktop.
Script to run the application
#!/bin/bash
echo "time = $(date +"%Y-%m-%dT%H:%M:%S.%3N%:z") level = INFO module = tharmigan/conference_service message = Executing the Ballerina application"
if [ "$1" = "graalvm" ];
then
./target/bin/conference_service_ballerina
else
java -jar ./target/bin/conference_service_ballerina.jar
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment