sysstat: make the service start automatically
PATCH 1/1 sysstat: make the service start automatically
From: Mingli Yu <[email protected]>
Make sysstat start automatically during bootup.
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-extended/sysstat/sysstat.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-extended/sysstat/sysstat.inc +4 -0
@@ -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 }
Signature · 1 line
2.17.1