blob: 1026e220f641e6dc7b0d3876dd359d56541ffa74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
PRINC := "${@int(PRINC) + 1}"
inherit systemd
SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "${PN}.socket"
SYSTEMD_OESCONS = "true"
do_install_append() {
#support for systemd
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${S}/systemd/${PN}.service ${D}${systemd_unitdir}/system/${PN}.service
install -m 0644 ${S}/systemd/${PN}.socket ${D}${systemd_unitdir}/system/${PN}.socket
}
|