summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChema Alonso Josa <nimiux@gentoo.org>2017-10-05 22:44:52 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2017-10-05 22:45:29 +0200
commitf88d698b1381a4c1cd1bc7f0630f839c537441fa (patch)
tree92af28a3d9961ee340a2bf4c84035be47323c4ec
parent08682bea062423bdeba2d713b16b716ec2169e46 (diff)
downloadgentoo-f88d698b1381a4c1cd1bc7f0630f839c537441fa.tar.gz
gentoo-f88d698b1381a4c1cd1bc7f0630f839c537441fa.tar.xz
app-admin/logrotate: Adds postinstall message for running systems using systemd
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=357275 Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--app-admin/logrotate/logrotate-3.12.3-r1.ebuild5
-rw-r--r--app-admin/logrotate/logrotate-3.12.3-r2.ebuild4
2 files changed, 9 insertions, 0 deletions
diff --git a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild
index ec6ce72f535..b5f5d4e95d9 100644
--- a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild
+++ b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild
@@ -78,11 +78,16 @@ src_install() {
}
pkg_postinst() {
+ elog
elog "The ${PN} binary is now installed under /usr/bin. Please"
elog "update your links"
elog
move_old_state_file
elog
+ 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
if [[ -z ${REPLACING_VERSIONS} ]] ; then
elog "If you wish to have logrotate e-mail you updates, please"
elog "emerge virtual/mailx and configure logrotate in"
diff --git a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild
index 89ad370fbf1..f0661a39594 100644
--- a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild
+++ b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild
@@ -79,10 +79,14 @@ src_install() {
}
pkg_postinst() {
+ elog
elog "The ${PN} binary is now installed under /usr/bin. Please"
elog "update your links"
elog
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
if [[ -z ${REPLACING_VERSIONS} ]] ; then
elog "If you wish to have logrotate e-mail you updates, please"