im doing something wrong
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b3c78a2437
commit
440d1fe9d7
4
start.sh
4
start.sh
@ -10,8 +10,8 @@ echo "### Creating config ###"
|
|||||||
|
|
||||||
cd $HOME/server
|
cd $HOME/server
|
||||||
|
|
||||||
env | awk -F "=" '/^CVAR_/ {sub("CVAR_","",$1); print tolower($1),($2 ~ /^[0-9]+$/)?$2:"\""$2"\""}' > server.cfg
|
env | awk -F "=" '/^CVAR_/ {sub("CVAR_","",$1); print tolower($1),($2 ~ /^[0-9]+$/)?$2:"\""$2"\""}' > docker_server.cfg
|
||||||
|
|
||||||
echo "### Starting l4d2 ###"
|
echo "### Starting l4d2 ###"
|
||||||
|
|
||||||
$HOME/server/srcds_run -console -game left4dead2 +maxplayers 16 -maxclients 16 -ip 0.0.0.0 +map c1m1_hotel
|
$HOME/server/srcds_run -console -game left4dead2 +maxplayers 16 -maxclients 16 -ip 0.0.0.0 +map c1m1_hotel +exec docker_server.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user