Initial commit

This commit is contained in:
John Edwards 2023-09-30 20:58:08 +01:00
parent 151d11e7c8
commit 0ccf90faac
6 changed files with 128 additions and 0 deletions

20
bullseye/etc/entry.sh Normal file
View file

@ -0,0 +1,20 @@
#!/bin/bash
mkdir -p "${STEAMAPPDIR}" || true
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login "${STEAMUSER}" "${STEAMPASS}" \
+app_update "${STEAMAPPID}" \
+quit
"${STEAMAPPDIR}/game/bin/linuxsteamrt64/cs2" -dedicated \
-usercon \
+game_type "${CS2_GAMETYPE}" \
+game_mode "${CS2_GAMEMODE}" \
+mapgroup "${CS2_MAPGROUP}" \
+map "${CS2_STARTMAP}" \
+sv_setsteamaccount \
-maxplayers_override "${CS2_MAXPLAYERS}" \
+rcon_password "${CS2_RCONPW}" \
+sv_password "${CS2_PW}" \
"${CS2_ADDITIONAL_ARGS}"