mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
periodicstats: align with datamodel microservice
This commit is contained in:
parent
0faae8cfad
commit
b598e31ca3
3 changed files with 5 additions and 11 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=periodicstats
|
||||
PKG_VERSION:=1.5.4
|
||||
PKG_VERSION:=1.5.5
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
{
|
||||
"daemon": {
|
||||
"config": {
|
||||
"loglevel": "1"
|
||||
},
|
||||
"input": {
|
||||
"type": "DotSo",
|
||||
"name": "/etc/periodicstats/libperiodicstats.so"
|
||||
},
|
||||
"output": {
|
||||
"type": "UBUS",
|
||||
"name": "bbfdm.periodicstats",
|
||||
"parent_dm": "Device.",
|
||||
"object": "PeriodicStatistics",
|
||||
"root_obj": "bbfdm"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if ! uci -q get bbfdm.periodicstats >/dev/null; then
|
||||
uci set bbfdm.periodicstats=micro_service
|
||||
uci set bbfdm.periodicstats.enable=1
|
||||
uci set bbfdm.periodicstats.input_json="/etc/periodicstats/input.json"
|
||||
uci set bbfdm.periodicstats.loglevel=1
|
||||
fi
|
||||
Loading…
Add table
Reference in a new issue