From 34bb159529e1260a2f70704313de1fdfaec65672 Mon Sep 17 00:00:00 2001 From: Christoph Hummer Date: Sat, 15 Mar 2025 18:18:06 +0100 Subject: [PATCH] scripts/start.sh aktualisiert --- scripts/start.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/start.sh b/scripts/start.sh index a8b06c1..d42925f 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -24,6 +24,11 @@ chown -R root:${GID} /opt/scripts chmod -R 750 /opt/scripts chown -R ${UID}:${GID} ${DATA_DIR} +# Fix for CSDM not working properly +if [ -f "${SERVER_DIR}/cstrike/addons/sourcemod/gamedata/cssdm.games.txt" ]; then + chmod 550 ${SERVER_DIR}/cstrike/addons/sourcemod/gamedata/cssdm.games.txt +fi + echo "---Starting...---" term_handler() { kill -SIGTERM "$killpid"