+ set additional variables for lgsm details (incomplete)
This commit is contained in:
parent
caefb24b20
commit
e4b58e76c2
@ -14,8 +14,9 @@ ENV CSS_PATH="/home/steam/addons/css" \
|
||||
WORKSHOP_COLLECTION_ID="" \
|
||||
WORKSHOP_API_KEY="" \
|
||||
WORKSHOP_AUTOLOAD="true" \
|
||||
SERVER_NAME="" \
|
||||
SERVER_NAME="LinuxGSM" \
|
||||
SERVER_PASSWORD="" \
|
||||
SERVER_RCON_PASSWORD="" \
|
||||
SERVER_VOICE_ENABLE="1" \
|
||||
SERVER_IP="0.0.0.0" \
|
||||
SERVER_PORT="27015" \
|
||||
|
@ -9,6 +9,15 @@ fi
|
||||
#travistest: unbound variable
|
||||
#set -o nounset
|
||||
|
||||
|
||||
## For "details" command: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/info_messages.sh
|
||||
## fn_info_message_gameserver
|
||||
servername="$SERVER_NAME"
|
||||
serverpassword="$SERVER_PASSWORD"
|
||||
if [ ! -n "$SERVER_RCON_PASSWORD" ]; then
|
||||
rconpassword="$SERVER_RCON_PASSWORD"
|
||||
fi
|
||||
|
||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
|
||||
ip="$SERVER_IP"
|
||||
port="$SERVER_PORT"
|
||||
|
Loading…
Reference in New Issue
Block a user