updated startup description
This commit is contained in:
parent
7590395fe3
commit
b49fabd1e3
2 changed files with 190 additions and 51 deletions
10
doc/FAQ.md
10
doc/FAQ.md
|
|
@ -322,17 +322,17 @@ restconf daemon as part of the [example](../example/systemd).
|
|||
|
||||
## How can I add extra XML?
|
||||
|
||||
There are two ways to add extra XML to running database after start. Note that this XML is not "committed" into running.
|
||||
There are two ways to add extra XML to running database after start. Note that this XML is not "committed" into running.
|
||||
|
||||
The first way is via a file. Assume you want to add this xml (the config tag is a necessary top-level tag):
|
||||
```
|
||||
<config>
|
||||
<x xmlns="urn:example:clixon">extra</x>
|
||||
</config>
|
||||
<config>
|
||||
<x xmlns="urn:example:clixon">extra</x>
|
||||
</config>
|
||||
```
|
||||
You add this via the -c option:
|
||||
```
|
||||
clixon_backend ... -c extra.xml
|
||||
clixon_backend ... -c extra.xml
|
||||
```
|
||||
|
||||
The second way is by programming the plugin_reset() in the backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue