Skip to content

Commit

Permalink
docs: reference tedge-write in config_update reference
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Guzik <[email protected]>
  • Loading branch information
Bravo555 committed Sep 18, 2024
1 parent 0c9d646 commit 8adcbc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/references/agent/tedge-configuration-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ Upon receiving a configuration update command, the agent performs the following
1. It performs a `GET` request to the `tedgeUrl` specified in the command to retrieve the content.
2. The agent then uses the `type` information (`mosquitto`) to to look up the target path from the `tedge-configuration-plugin.toml` file
and applies the new configuration content to the corresponding `path`(`/etc/mosquitto/mosquitto.conf`).
If `tedge` user/group does not have write permissions to the path and its parent directory,
[`tedge-write`](../tedge-write.md) will be used in combination with `sudo` for permission elevation.

Throughout the process, the agent updates the command status via MQTT
by publishing a retained message to the same `<root>/<identifier>/cmd/config_update/<id>` topic
Expand Down

0 comments on commit 8adcbc7

Please sign in to comment.