If a parameter is repeated, then normally the last value takes precedence. However some parameters can take multiple values - for example StartParams and JvmOptions. If these parameters are prefixed with ++, then the value will be appended to the existing value. For example:
--Startup=manual --Startup=auto --JvmOptions=-Done=1 ++JvmOptions=-Dtwo=2
Startup:
auto
JvmOptions:
-Done=1
-Dtwo=2
Only multi-valued parameters support this; they are indicated in the table below by ++.
If ++ is used for a parameter that does not support multiple values, then it is treated the same as --. No error is reported.
Configuration is overwritten in case -- is used. For example:
--JvmOptions=-Dthree=3 ++JvmOptions=-Dfour=4
Read full article from Daemon : Procrun
No comments:
Post a Comment