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:
-
elemPathis the path of a configuration element to be replaced or to be added to the system configuration. The element itself is specified as theelementstring immediately followingelemPath. The parts of a path must be separated by a period. -
elementis the new configuration element with the pathelemPath.
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>}