Skip to content

Commit aaa88f7

Browse files
Update device-update-configuration-file.md
1 parent 706a545 commit aaa88f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/iot-hub-device-update/device-update-configuration-file.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ When installing Debian agent on an IoT Device with a Linux OS, modify the `/etc/
4040
| connectionData |If connectionType = "string", add your IoT device's device or module connection string here. If connectionType = "AIS", set the connectionData to empty string (`"connectionData": ""`). |
4141
| manufacturer | Reported by the Device Update agent as part of the **DeviceInformation** interface. |
4242
| model | Reported by the Device Update agent as part of the **DeviceInformation** interface. |
43-
|dataFolder| Optional field. This sets path for the ADU Data folder. Value is set. Default path is '/var/lib/adu'|
4443
|extensionsFolder| Optional field. This sets path for the ADU Extensions folder. Default path is '/var/lib/adu/extensions'|
4544
|downloadsFolder| Optional field. This sets path for the ADU Downloads folder. Default path is '/var/lib/adu/downloads'|
4645
|aduShellFilePath| Optional field. This sets path for the ADU shell. Default path is '/usr/lib/adu'|
4746
|downloadTimeoutInMinutes| Optional field. This sets download timeout in minutes for update payload. A value of zero means to use the default which is 8 hours.|
4847

48+
'Datafolder' field can be used to set path for the ADU Data folder.CheckDataDir() in the [health management check](https://github.com/Azure/iot-hub-device-update/blob/develop/src/agent/src/health_management.c) needs to be be updated to point to the value in the config file. The default path is '/var/lib/adu' is used otherwise.
49+
4950
## Example "du-config.json" file contents
5051

5152
```json

0 commit comments

Comments
 (0)