fix options

This commit is contained in:
Paolo Asperti 2018-11-08 22:16:24 +01:00
parent 250931c643
commit 1d1ceedd51

View File

@ -1,26 +1,30 @@
{ {
"name": "Network UPS Tools - netclient", "name": "Network UPS Tools - netclient",
"version": "0.1.1", "version": "0.1.2",
"slug": "upsmon", "slug": "upsmon",
"description": "Connect to a remote NUT server", "description": "Connect to a remote NUT server",
"startup": "before", "startup": "before",
"boot": "auto", "boot": "auto",
"options": { "options": {
"credentials": [ "credentials": {
{ "user": "monuser", "pass": "secret" } "user": "monuser",
], "pass": "secret"
"ups": [ },
{ "upsname": "ups", "host": "IPADDR" } "ups": {
], "upsname": "ups",
"host": "IPADDR"
},
"delay": "5" "delay": "5"
}, },
"schema": { "schema": {
"credentials": [ "credentials": {
{ "user": "str", "pass": "str" } "user": "str",
], "pass": "str"
"ups": [ },
{ "upsname": "str", "host": "str" } "ups": {
], "upsname": "str",
"host": "str"
},
"delay": "int" "delay": "int"
} }
} }