diff options
Diffstat (limited to 'meta-agl-ic-container/recipes-container')
-rw-r--r-- | meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend b/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend index cbfc6135..7ee8b6cf 100644 --- a/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend +++ b/meta-agl-ic-container/recipes-container/lxc/lxc_%.bbappend @@ -16,12 +16,14 @@ do_install:append () { } # Divide lxc autostart from main package. -SYSTEMD_PACKAGES = "${PN}-autostart ${PN}-networking" +SYSTEMD_PACKAGES = "${PN}-autostart ${PN}-monitord ${PN}-networking" SYSTEMD_SERVICE:${PN} = "" SYSTEMD_SERVICE:${PN}-autostart = "lxc.service" SYSTEMD_AUTO_ENABLE:${PN}-autostart = "enable" +SYSTEMD_SERVICE:${PN}-monitord = "lxc-monitord.service" +SYSTEMD_AUTO_ENABLE:${PN}-monitord = "enable" -PACKAGES =+ "${PN}-autostart" +PACKAGES =+ "${PN}-autostart ${PN}-monitord" FILES:${PN}-autostart += " \ ${sysconfdir}/default/lxc \ @@ -30,6 +32,9 @@ FILES:${PN}-autostart += " \ FILES:${PN}-doc += " \ ${datadir}/doc/lxc/examples \ " +FILES:${PN}-monitord += " \ + ${libexexdir}/lxc/lxc-monitord \ +" FILES:${PN}-networking += " \ ${sysconfdir}/dnsmasq.d \ " |