„scripts/start-server.sh“ ändern

This commit is contained in:
2021-12-29 07:23:59 +01:00
parent 0bd1533ef6
commit 35fc6ee142

View File

@@ -78,6 +78,11 @@ if [ ! -f ~/.screenrc ]; then
echo "defscrollback 30000
bindkey \"^C\" echo 'Blocked. Please use to command \"exit\" to shutdown the server or close this window to exit the terminal.'" > ~/.screenrc
fi
if [ ! -f ${SERVER_DIR}/server_config.cfg ]; then
cp /tmp/server_config.cfg ${SERVER_DIR}/
else
echo "---'server_config.cfg' found..."
fi
echo "---Checking for old display lock files---"
find /tmp -name ".X99*" -exec rm -f {} \; > /dev/null 2>&1
echo "---Checking for old logfiles---"