diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-30 01:33:46 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-30 01:34:54 -0700 |
commit | f30f1d471181f5b487dda53ac4d112cf56627060 (patch) | |
tree | 1bfe598f8be8193c9d806e300d50c0ae21a4b57f /app-admin/logrotate | |
parent | app-portage/fetchcommandwrapper: keyword 0.8.4-r1 for ~ppc64 (diff) | |
download | gentoo-f30f1d471181f5b487dda53ac4d112cf56627060.tar.gz gentoo-f30f1d471181f5b487dda53ac4d112cf56627060.tar.bz2 gentoo-f30f1d471181f5b487dda53ac4d112cf56627060.zip |
app-admin/logrotate: call tmpfiles_process
instead of printing message
on openrc systems that directory already created by bootmisc
Bug: https://bugs.gentoo.org/357275
Bug: https://bugs.gentoo.org/803458
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-admin/logrotate')
-rw-r--r-- | app-admin/logrotate/logrotate-3.18.1.ebuild | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index 254aa29f7356..b422c0e89dae 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -83,10 +83,7 @@ pkg_postinst() { move_old_state_file - elog "If you are running systemd you might need to run:" - elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" - elog "in order to create the new location of the logrotate state file" - elog + tmpfiles_process ${PN}.conf if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please" |