|
@@ -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
|