Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "Analysing Car data"
- LICENSE = "CLOSED"
- SRC_URI = " \
- file://test.py \
- file://test.service \
- "
- inherit systemd
- #systemd
- SYSTEMD_PACKAGES = "${PN}"
- SYSTEMD_SERVICE_${PN} = "test.service"
- SYSTEMD_AUTO_ENABLE_${PN} = "enable"
- do_compile () {
- }
- do_install () {
- #add python script to /usr/bin/
- install -d ${D}/${bindir}
- install -m 0755 ${WORKDIR}/test.py ${D}/${bindir}
- #add python service to /lib/systemd/system/
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/test.service ${D}${systemd_unitdir}/system
- }
- FILES_${PN} += "${libdir}/*"
- RDEPENDS_${PN} = "netdata python-sqlalchemy"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement