scripts/start.sh aktualisiert

This commit is contained in:
2025-03-15 18:18:06 +01:00
parent 70e233326a
commit 34bb159529

View File

@@ -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"