Cleaner output when running container
This commit is contained in:
parent
8f159d0239
commit
9bb8ea32b8
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sleep 2
|
|
||||||
|
|
||||||
cd /home/container
|
cd /home/container
|
||||||
|
|
||||||
# Output Current Java Version
|
# Output Current Java Version
|
||||||
|
|
@ -14,9 +12,4 @@ MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'
|
||||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
# Run the Server
|
# Run the Server
|
||||||
${MODIFIED_STARTUP}
|
eval ${MODIFIED_STARTUP}
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "PTDL_CONTAINER_ERR: There was an error while attempting to run the start command."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user