Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 15, 2024
1 parent 4e78a8c commit 96533b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions container/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if echo "$@" | grep -qv "+map"; then
echo -e "\e[33mWarning: No +map specified in the command. Server will start but may not be joinable.\e[0m"
fi

# Push mods and config files from their temp directories to the server directories.
if [ -d /temp/mods ]
then
rsync --chown=steam:steam /temp/mods/* /opt/steam/hlds
Expand All @@ -19,4 +20,5 @@ fi

echo -e "\e[32mStarting Half-Life Dedicated Server for $GAME...\e[0m"

# Start the server with the specified game and any additional arguments.
./hlds_run "-game $GAME $@"

0 comments on commit 96533b9

Please sign in to comment.