+ added simplified option for my deployment

This commit is contained in:
Lucas Briese 2018-09-19 23:05:35 +02:00
parent f02c8f1758
commit 5f8686d97b
3 changed files with 14 additions and 1 deletions

View File

@ -17,7 +17,9 @@ ENV STEAM_PATH="/home/steam" \
CSS_PATH="/home/steam/addons/css" \ CSS_PATH="/home/steam/addons/css" \
HL2_PATH="/home/steam/addons/hl2" \ HL2_PATH="/home/steam/addons/hl2" \
HLDM_PATH="/home/steam/addons/hldm" \ HLDM_PATH="/home/steam/addons/hldm" \
TF2_PATH="/home/steam/addons/tf2" TF2_PATH="/home/steam/addons/tf2" \
\
USE_MY_REPLACER_CONFIG=false
VOLUME "$SERVER_PATH" VOLUME "$SERVER_PATH"

View File

@ -30,6 +30,7 @@ cd "$STEAM_PATH"
echo '[error][2] <= printed' && \ echo '[error][2] <= printed' && \
./steamcmd.sh +login anonymous +force_install_dir "$STEAM_PATH/server/" +app_update 4020 validate +quit) ./steamcmd.sh +login anonymous +force_install_dir "$STEAM_PATH/server/" +app_update 4020 validate +quit)
bash experimental.sh
bash installAndMountAddons.sh bash installAndMountAddons.sh
bash forceWorkshopDownload.sh bash forceWorkshopDownload.sh

10
experimental.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
set -e
#this is a simple option for myself, but you can use it too
if [ "$USE_MY_REPLACER_CONFIG" = "true" ]; then
mkdir -p "{$SERVER_PATH}/garrysmod/data/jusito_ttt_entity_replace"
wget -O "{$SERVER_PATH}/garrysmod/data/jusito_ttt_entity_replace/config.txt" "https://raw.githubusercontent.com/jusito/ttt_entity_replace/master/config.txt.example_fas2"
fi