Просмотр исходного кода

fix(pz): correct start parameters (#4305)

* refactor: remove unnecessary memory allocation in pzserver config

The startparameters variable in the pzserver configuration file was modified to remove the unnecessary memory allocation parameter. This change simplifies the configuration and improves efficiency.

* refactor: simplify startparameters in pzserver config

The startparameters in the pzserver config file have been simplified to only include the server name. This change removes unnecessary parameters and improves readability.
Daniel Gibbs 2 лет назад
Родитель
Сommit
ac78fc1b8f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      lgsm/config-default/config-lgsm/pzserver/_default.cfg

+ 1 - 2
lgsm/config-default/config-lgsm/pzserver/_default.cfg

@@ -10,11 +10,10 @@
 
 ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
 ip="0.0.0.0"
-javaram="8192" # -Xmx$8192M
 adminpassword="CHANGE_ME"
 
 ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
-startparameters="--ip ${ip} -adminpassword \"${adminpassword}\" -servername ${selfname} -Xmx${javaram}M"
+startparameters="-servername ${selfname}"
 
 #### LinuxGSM Settings ####