mirror of
https://github.com/darksaid98/pterodactyl-graalvm.git
synced 2026-12-02 16:08:46 +00:00
Create entrypoint.sh
This commit is contained in:
1 parent
a25c541d7a
commit
66a027b71f
1 file changed
+12
@@ -0,0 +1,12 @@
|
||||
#!/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}
|
||||
Reference in new issue
Block a user