{scrollbar} |
The files in the etc directory are used to set the startup configuration.
For dynamic configuration, Karaf provides a suite of command to administer the configuration service grouped under config. To learn about all currently supported configuration commands type:
Command |
Description |
|---|---|
cancel |
Change the changes to the configuration being edited. |
edit |
Create or edit a configuration. |
list |
List existing configurations. |
propdel |
Delete a property from the edited configuration. |
proplist |
List properties from the edited configuration. |
propset |
Set a property on the edited configuration. |
update |
Save and propagate changes from the configuration being edited. |
For example to edit configuration foo.bar:
karaf@root:/> config:edit foo.bar |
Use:
config:proplist to list existing propertiesconfig:propdel to delete existing propertiesconfig:propset to set a new value for a propertyAny number of properties can be modified within a single editing session.
Use
config:update to commit all changes made in the current sessionconfig:cancel to roll back any changes made in the current session{scrollbar} |