mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
dnsmngr: align with bbfdm microservice
This commit is contained in:
parent
9bf0b5ff70
commit
2319f033f7
3 changed files with 9 additions and 14 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dnsmngr
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_VERSION:=1.0.1
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=61
|
||||
STOP=01
|
||||
|
||||
. /etc/bbfdm/bbfdm_services.sh
|
||||
|
||||
USE_PROCD=1
|
||||
DNSMNGR_JSON_INPUT="/etc/dnsmngr/input.json"
|
||||
|
||||
start_service() {
|
||||
bbfdm_add_service "bbfdm.dnsmngr" "${DNSMNGR_JSON_INPUT}"
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
if ! uci -q get bbfdm.dnsmngr >/dev/null; then
|
||||
uci set bbfdm.dnsmngr=micro_service
|
||||
uci set bbfdm.dnsmngr.enable=1
|
||||
uci set bbfdm.dnsmngr.input_json="/etc/dnsmngr/input.json"
|
||||
uci set bbfdm.dnsmngr.loglevel=1
|
||||
fi
|
||||
Loading…
Add table
Reference in a new issue