From 1d1ceedd515c0f515c7c0c5ce4b076c851422eb0 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 8 Nov 2018 22:16:24 +0100 Subject: [PATCH] fix options --- upsmon/config.json | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/upsmon/config.json b/upsmon/config.json index cd4c2ae..0488c4b 100644 --- a/upsmon/config.json +++ b/upsmon/config.json @@ -1,26 +1,30 @@ { "name": "Network UPS Tools - netclient", - "version": "0.1.1", + "version": "0.1.2", "slug": "upsmon", "description": "Connect to a remote NUT server", "startup": "before", "boot": "auto", "options": { - "credentials": [ - { "user": "monuser", "pass": "secret" } - ], - "ups": [ - { "upsname": "ups", "host": "IPADDR" } - ], + "credentials": { + "user": "monuser", + "pass": "secret" + }, + "ups": { + "upsname": "ups", + "host": "IPADDR" + }, "delay": "5" }, "schema": { - "credentials": [ - { "user": "str", "pass": "str" } - ], - "ups": [ - { "upsname": "str", "host": "str" } - ], + "credentials": { + "user": "str", + "pass": "str" + }, + "ups": { + "upsname": "str", + "host": "str" + }, "delay": "int" } -} +} \ No newline at end of file