Skip to content

Commit bfdfe14

Browse files
borzakadgibbs64
andauthored
fix(cs2server): use cs2.sh script instead of cs2 binary for server startup (#4843)
Update CS2 server launch to use the cs2.sh script as recommended by Valve. The script properly sets LD_LIBRARY_PATH environment variable, which is required after recent CS2 updates. Closes #4842 Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
1 parent 1689f3c commit bfdfe14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lgsm/config-default/config-lgsm/cs2server/_default.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ glibc="2.31"
163163

164164
## Game Server Directories
165165
systemdir="${serverfiles}/game/csgo"
166-
executabledir="${serverfiles}/game/bin/linuxsteamrt64"
167-
executable="./cs2"
166+
executabledir="${serverfiles}/game"
167+
executable="./cs2.sh"
168168
servercfgdir="${systemdir}/cfg"
169169
servercfg="${selfname}.cfg"
170170
servercfgdefault="server.cfg"

0 commit comments

Comments
 (0)