cleaner output

This commit is contained in:
Dane Everitt 2018-01-06 14:55:52 -06:00
parent c603e17465
commit f893864688
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -1,6 +1,4 @@
#!/bin/ash
sleep 2
cd /home/container
# Make internal Docker IP address available to processes.
@ -11,9 +9,4 @@ MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
${MODIFIED_STARTUP}
if [ $? -ne 0 ]; then
echo "PTDL_CONTAINER_ERR: There was an error while attempting to run the start command."
exit 1
fi
eval ${MODIFIED_STARTUP}