]> code.ossystems Code Review - openembedded-core.git/commit
logrotate: Add systemd support
authorRomain Perier <romain.perier@collabora.com>
Tue, 11 Jul 2017 06:46:06 +0000 (08:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 21:45:19 +0000 (22:45 +0100)
commitb942d0b17cb6622b653283109307346dcfb4f205
tree9a382f5b4937725e9c27a954652f9c36941d242f
parent72490b7a327867872987e63d340051c4980044b2
logrotate: Add systemd support

Currently, this recipe only supports daily scheduling via a cron job.
This commit adds support for systemd in the recipe, as the feature is
already supported on upstream. When the corresponding distro feature is
enabled the systemd variant will be used. The timer granularity and its
accuracy are also configurable.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/logrotate/logrotate_3.12.3.bb