Add Mono yolk

This commit is contained in:
Gethec
2022-07-01 10:18:40 -05:00
parent 13da3a1ab4
commit 7386d616d7
2 changed files with 23 additions and 0 deletions

12
Mono/entrypoint.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
cd $HOME
# 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}$ ${MODIFIED_STARTUP}"
# Run the Server
${MODIFIED_STARTUP}