Skip to content

Commit 7b43b14

Browse files
committed
Restore chirpstack-concentratord-base_.bb after accidental delete.
1 parent 9a989d7 commit 7b43b14

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
HOMEPAGE = "https://www.chirpstack.io/"
2+
DESCRIPTION = "ChirpStack Concentratord base files"
3+
LICENSE = "MIT"
4+
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5+
PR = "r1"
6+
7+
SRC_URI = "\
8+
file://chirpstack-concentratord.default \
9+
file://chirpstack-concentratord.init \
10+
file://chirpstack-concentratord.monit \
11+
"
12+
13+
inherit update-rc.d
14+
15+
INITSCRIPT_NAME = "chirpstack-concentratord"
16+
INITSCRIPT_PARAMS = "defaults"
17+
18+
do_install() {
19+
install -d ${D}${sysconfdir}/init.d
20+
install -d ${D}${sysconfdir}/monit.d
21+
install -d ${D}${sysconfdir}/default
22+
23+
install -m 0755 ../chirpstack-concentratord.init ${D}${sysconfdir}/init.d/chirpstack-concentratord
24+
install -m 0644 ../chirpstack-concentratord.monit ${D}${sysconfdir}/monit.d/chirpstack-concentratord
25+
install -m 0644 ../chirpstack-concentratord.default ${D}${sysconfdir}/default/chirpstack-concentratord
26+
}

0 commit comments

Comments
 (0)