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"