mirror of
https://github.com/hassio-addons/addon-chrony.git
synced 2025-05-04 19:21:35 +00:00
🔨Align config.json layout
This commit is contained in:
parent
2f00df7908
commit
d97e9e850b
1 changed files with 4 additions and 12 deletions
|
@ -5,19 +5,11 @@
|
||||||
"description": "A local NTP (Network Time Protocol) server for cameras etc.",
|
"description": "A local NTP (Network Time Protocol) server for cameras etc.",
|
||||||
"url": "https://github.com/hassio-addons/addon-chrony",
|
"url": "https://github.com/hassio-addons/addon-chrony",
|
||||||
"startup": "system",
|
"startup": "system",
|
||||||
"arch": [
|
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
|
||||||
"aarch64",
|
|
||||||
"amd64",
|
|
||||||
"armhf",
|
|
||||||
"armv7",
|
|
||||||
"i386"
|
|
||||||
],
|
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
"hassio_api": true,
|
"hassio_api": true,
|
||||||
"hassio_role": "default",
|
"hassio_role": "default",
|
||||||
"privileged": [
|
"privileged": ["SYS_TIME"],
|
||||||
"SYS_TIME"
|
|
||||||
],
|
|
||||||
"ports": {
|
"ports": {
|
||||||
"123/udp": 123
|
"123/udp": 123
|
||||||
},
|
},
|
||||||
|
@ -34,10 +26,10 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
|
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
|
||||||
"set_system_clock": "bool",
|
"set_system_clock": "bool",
|
||||||
"ntp_pool": "str?",
|
"ntp_pool": "str?",
|
||||||
"ntp_server": ["str?"],
|
"ntp_server": ["str?"],
|
||||||
"mode": "match(^(pool|server)$)"
|
"mode": "list(pool|server)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue