scripts/start.sh aktualisiert
This commit is contained in:
@@ -24,6 +24,11 @@ chown -R root:${GID} /opt/scripts
|
|||||||
chmod -R 750 /opt/scripts
|
chmod -R 750 /opt/scripts
|
||||||
chown -R ${UID}:${GID} ${DATA_DIR}
|
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...---"
|
echo "---Starting...---"
|
||||||
term_handler() {
|
term_handler() {
|
||||||
kill -SIGTERM "$killpid"
|
kill -SIGTERM "$killpid"
|
||||||
|
Reference in New Issue
Block a user