summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat.inc')
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index e5e134c038..f97b88d493 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -23,6 +23,10 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}"
EXTRA_OECONF += "--disable-stripping"
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE_${PN} = "sysstat.service"
+SYSTEMD_AUTO_ENABLE = "enable"
+
do_configure_prepend() {
export sa_lib_dir=${libexecdir}/sa
}