Преглед на файлове

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 години
родител
ревизия
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 ####