Browse Source

changes to integrate ts3 with tmux

pull/2565/head
Daniel Gibbs 6 years ago
parent
commit
15bd3106f1
  1. 2
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  2. 5
      lgsm/functions/check_deps.sh

2
lgsm/config-default/config-lgsm/ts3server/_default.cfg

@ -115,7 +115,7 @@ glibc="2.17"
## Server Specific Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./ts3server_startscript.sh"
executable="./ts3server_minimal_runscript.sh"
servercfg="${servicename}.ini"
servercfgdefault="ts3server.ini"
servercfgdir="${serverfiles}"

5
lgsm/functions/check_deps.sh

@ -337,14 +337,11 @@ fn_deps_build_debian(){
# LinuxGSM requirements.
array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python3 tar bzip2 gzip unzip binutils bc jq )
# All servers except ts3 require tmux.
if [ "${shortname}" != "ts3" ]; then
if [ "$(command -v tmux 2>/dev/null)" ]; then
tmuxcheck=1 # Added for users compiling tmux from source to bypass check.
else
array_deps_required+=( tmux )
fi
fi
# All servers except ts3, mumble, GTA and minecraft servers require libstdc++6 and lib32gcc1.
if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then
@ -467,14 +464,12 @@ fn_deps_build_redhat(){
fi
# All servers except ts3 require tmux.
if [ "${shortname}" != "ts3" ]; then
if [ "$(command -v tmux 2>/dev/null)" ]; then
# Added for users compiling tmux from source to bypass check.
tmuxcheck=1
else
array_deps_required+=( tmux )
fi
fi
# All servers except ts3, mumble, multi theft auto and minecraft servers require glibc.i686 and libstdc++.i686.
if [ "${shortname}" != "ts3" ]&&[ "${shortname}" != "mumble" ]&&[ "${shortname}" != "mc" ]&&[ "${engine}" != "renderware" ]; then

Loading…
Cancel
Save