Tidy entrypoints 🧹

This commit is contained in:
RikoDEV authored and rikodev committed 2023-06-18 22:17:26 +02:00
1 parent 2070b0a1de
commit 69492eb373
11 files changed
+7 -60

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
cd /home/container
# Print Java version
java -version
# Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}