bbfdm: Set respawn for micro-services

This commit is contained in:
Vivek Kumar Dutta 2023-07-24 17:19:46 +05:30
parent ebcf8b4b61
commit 0745796112
No known key found for this signature in database
GPG key ID: 65C818099F37097D
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bbfdm
PKG_VERSION:=1.2.8
PKG_VERSION:=1.2.9
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/bbfdm.git

View file

@ -13,5 +13,5 @@ bbfdm_add_service()
return 0;
fi
ubus call service add "{'name':'$name','instances':{'inst1':{'command':['$BBFDMD','-m','$path']}}}"
ubus call service add "{'name':'bbfdm.services','instances':{'$name':{'command':['$BBFDMD','-m','$path'], 'respawn': [0]}}}"
}