From a7dc7fd388645ab3fdbf68ed22ba014c66f7ca58 Mon Sep 17 00:00:00 2001 From: Frisasky Date: Mon, 29 Apr 2019 03:15:35 +0800 Subject: [PATCH] fix(twserver): Change how Teeworlds configs are handled (#2313) Co-authored-by: Frisa --- lgsm/config-default/config-lgsm/twserver/_default.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index 59b355ddc..b983e3b21 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/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 fn_parms(){ -parms="-f ${servercfgfullpath}" +parms="-f ${servercfg}" } #### LinuxGSM Settings #### @@ -108,7 +108,7 @@ executabledir="${systemdir}" executable="./teeworlds_srv" servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir servercfgdefault="server.cfg" -servercfgdir="${serverfiles}" +servercfgdir="${serverfiles}/tw" servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory