Create entrypoint.sh

This commit is contained in:
RikoDEV authored and GitHub committed 2020-08-29 19:35:05 +02:00
1 parent a25c541d7a
commit 66a027b71f
1 file changed
+12
+12
View File
@@ -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}