„scripts/start-server.sh“ ändern
This commit is contained in:
@@ -19,6 +19,14 @@ if [ "${CUSTOM_RES_H}" -le 767 ]; then
|
|||||||
echo "---Height to low must be a minimal of 768 pixels, correcting to 768...---"
|
echo "---Height to low must be a minimal of 768 pixels, correcting to 768...---"
|
||||||
CUSTOM_RES_H=768
|
CUSTOM_RES_H=768
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z ${GPODDER_DOWNLOAD_DIR} ]; then
|
||||||
|
echo "---The variable 'GPODDER_DOWNLOAD_DIR' can't be empty, putting container into sleep mode!---"
|
||||||
|
sleep infinity
|
||||||
|
elif [ ! -d ${GPODDER_DOWNLOAD_DIR} ]; then
|
||||||
|
mkdir -p ${GPODDER_DOWNLOAD_DIR}
|
||||||
|
fi
|
||||||
|
|
||||||
echo "---Checking for old logfiles---"
|
echo "---Checking for old logfiles---"
|
||||||
rm -rf /tmp/.X0*
|
rm -rf /tmp/.X0*
|
||||||
rm -rf /tmp/.X11*
|
rm -rf /tmp/.X11*
|
||||||
|
Reference in New Issue
Block a user