replace localhost and IP with special DNS name in entry.sh

This commit is contained in:
Brett Caswell 2020-02-25 21:58:09 -06:00
parent 68cf8a3011
commit 644923e466

View file

@ -19,7 +19,7 @@ fi
if [[ "$HLTV" = "1" ]]; then
echo "Starting HLTV"
export LD_LIBRARY_PATH=.
./hltv +serverpassword europe +connect localhost:27015 +record demos/gathers >> /home/steam/hlds/ns/demos/hltv-`date +%F-%h:%m`.log
./hltv +serverpassword europe +connect host.docker.internal:27015 +record demos/gathers >> /home/steam/hlds/ns/demos/hltv-`date +%F-%h:%m`.log
elif [[ "$HLDS" = "1" ]]; then
echo "Starting HLDS"
export LD_LIBRARY_PATH=.