Revert "rcon password"
All checks were successful
continuous-integration/drone/push Build is passing

This reverts commit e5df3ba1a9.
This commit is contained in:
Niklas 2021-04-25 20:08:14 +02:00
parent e5df3ba1a9
commit d8a5c6a064
2 changed files with 1 additions and 4 deletions

View File

@ -10,5 +10,3 @@ sv_voiceenable "1"
sv_log_onefile "0" sv_log_onefile "0"
sv_lan "0" sv_lan "0"
sv_cheats "0" sv_cheats "0"
rcon_password "${RCON_PASSWORD}"

View File

@ -9,8 +9,7 @@ echo "### Installing / Updateing l4d2 ###"
echo "### Creating config ###" echo "### Creating config ###"
cd $HOME/server cd $HOME/server
# cp $HOME/server.cfg $HOME/server/left4dead2/cfg/server.cfg cp $HOME/server.cfg $HOME/server/left4dead2/cfg/server.cfg
envsubst < $HOME/server.cfg > $HOME/server/left4dead2/cfg/server.cfg
env | awk -F "=" '/^CVAR_/ {sub("CVAR_","",$1); print tolower($1),($2 ~ /^[0-9]+$/)?$2:"\""$2"\""}' > docker_server.cfg env | awk -F "=" '/^CVAR_/ {sub("CVAR_","",$1); print tolower($1),($2 ~ /^[0-9]+$/)?$2:"\""$2"\""}' > docker_server.cfg