Browse Source

fix(twserver): Change how Teeworlds configs are handled (#2313)

Co-authored-by: Frisa <[email protected]>
pull/2323/head
Frisasky 6 years ago
committed by Daniel Gibbs
parent
commit
a7dc7fd388
  1. 4
      lgsm/config-default/config-lgsm/twserver/_default.cfg

4
lgsm/config-default/config-lgsm/twserver/_default.cfg

@ -17,7 +17,7 @@ ip="0.0.0.0"
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){ fn_parms(){
parms="-f ${servercfgfullpath}" parms="-f ${servercfg}"
} }
#### LinuxGSM Settings #### #### LinuxGSM Settings ####
@ -108,7 +108,7 @@ executabledir="${systemdir}"
executable="./teeworlds_srv" executable="./teeworlds_srv"
servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir
servercfgdefault="server.cfg" servercfgdefault="server.cfg"
servercfgdir="${serverfiles}" servercfgdir="${serverfiles}/tw"
servercfgfullpath="${servercfgdir}/${servercfg}" servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory ## Backup Directory

Loading…
Cancel
Save