瀏覽代碼

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