mirror of
https://github.com/darksaid98/pterodactyl-graalvm.git
synced 2026-12-02 07:58:47 +00:00
13 lines
374 B
Bash
13 lines
374 B
Bash
#!/bin/bash
|
|
cd /home/container
|
|
|
|
# Output Current Java Version
|
|
java -version ## only really needed to show what version is being used. Should be changed for different applications
|
|
|
|
# Replace Startup Variables
|
|
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
|
|
|
# Run the Server
|
|
${MODIFIED_STARTUP}
|