Available for: Content Management Server, Template Engine
Task: The function replaces system configuration elements or adds elements to the system configuration.
Additional information: This command can be used only on application start and in single mode.
Syntax:
systemConfig setElements {elemPath element}
Function parameters:
elemPath
is the path of a configuration element
to be replaced or to be added to the system configuration. The element itself
is specified as the element
string immediately following
elemPath
. The parts of a path must be separated by a
period.element
is the new configuration element with
the path elemPath
.Return value if successful: none.
Necessary permissions (CM only): The logged-in user must be a super user.
Example:
CM>systemConfig setElements tuning.master \ {<master fileName="master.xml"><maxSlaves>2</maxSlaves><slaveIdleTimeout>60 </slaveIdleTimeout><slaveExecMaxFailures>4</slaveExecMaxFailures> <slaveExecArguments/><slaveShutdownTimeout>5</slaveShutdownTimeout> <slaveStartupTimeout>100</slaveStartupTimeout><minIdleSlaves>1 </minIdleSlaves></master>}