From: Harrison Marcks hmarcks@thegoodpenguin.co.uk
Signed-off-by: Harrison Carter hcarter@thegoodpenguin.co.uk --- recipes-connectivity/zabbix/zabbix-agentd-morello_5.0.38.bb | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/recipes-connectivity/zabbix/zabbix-agentd-morello_5.0.38.bb b/recipes-connectivity/zabbix/zabbix-agentd-morello_5.0.38.bb index b7084e2..a0173d8 100644 --- a/recipes-connectivity/zabbix/zabbix-agentd-morello_5.0.38.bb +++ b/recipes-connectivity/zabbix/zabbix-agentd-morello_5.0.38.bb @@ -24,6 +24,11 @@ RPROVIDES:${PN} += "zabbix-agentd"
BPN_ZABBIX = "zabbix-agentd"
+SYSTEMD_AUTO_ENABLE:${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "zabbix-agentd.service" + +SERVER_HOSTNAME = "${MACHINE}" + do_install:append() {
install -d ${D}${systemd_system_unitdir} ${D}${sysconfdir}