add logstf api key

This commit is contained in:
Robin Appelman 2015-11-25 20:28:18 +01:00
commit 4bef0d94f4
2 changed files with 3 additions and 1 deletions

View file

@ -15,4 +15,5 @@ docker pull spiretf/docker-spire-server
| RCON_PASSWORD | The rcon password | rcon | | RCON_PASSWORD | The rcon password | rcon |
| WEBRCON\_PASSWORD | The webrcon password | $RCON\_PASSWORD | | WEBRCON\_PASSWORD | The webrcon password | $RCON\_PASSWORD |
| CONFIG | The server config to execute | etf2l_6v6_5cp | | CONFIG | The server config to execute | etf2l_6v6_5cp |
| MAP | The map to start the server on | cp_badlands | | MAP | The map to start the server on | cp_badlands |
| LOGSTF_APIKEY | Api key for logs.tf | |

1
tf.sh
View file

@ -8,6 +8,7 @@ echo "hostname \"${NAME:-'Spire Server'}\"" >> $CFG
echo "sv_password \"${PASSWORD:-'password'}\"" >> $CFG echo "sv_password \"${PASSWORD:-'password'}\"" >> $CFG
echo "rcon_password \"${RCON_PASSWORD:-'rcon'}\"" >> $CFG echo "rcon_password \"${RCON_PASSWORD:-'rcon'}\"" >> $CFG
echo "sm_webrcon_key \"${WEBRCON_PASSWORD:-${RCON_PASSWORD:-'rcon'}}\"" >> $CFG echo "sm_webrcon_key \"${WEBRCON_PASSWORD:-${RCON_PASSWORD:-'rcon'}}\"" >> $CFG
echo "logstf_apikey \"${LOGSTF_APIKEY}\"" >> $CFG
echo "exec ${CONFIG:-etf2l_6v6_5cp}" >> $CFG echo "exec ${CONFIG:-etf2l_6v6_5cp}" >> $CFG
cd $HOME/hlserver cd $HOME/hlserver