Kaynağa Gözat

fix(kfserver): add missing dir variables (#2219)

Daniel Gibbs 7 yıl önce
ebeveyn
işleme
f275d3a67e

+ 3 - 1
lgsm/config-default/config-lgsm/kfserver/_default.cfg

@@ -13,8 +13,8 @@ steamuser="username"
 steampass='password'
 
 ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
-defaultmap="KF-BioticsLab.rom"
 ip="0.0.0.0"
+defaultmap="KF-BioticsLab.rom"
 
 ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
 fn_parms(){
@@ -108,6 +108,7 @@ engine="unreal2"
 # Edit with care
 
 ## Server Specific Directories
+serverfiles="${rootdir}/serverfiles"
 systemdir="${serverfiles}/System"
 executabledir="${systemdir}"
 executable="./ucc-bin"
@@ -134,3 +135,4 @@ postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
 ## Logs Naming
 lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
 consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
+gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"