app-admin/logrotate: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Theo Anderson
2021-03-07 12:55:48 +01:00
committed by David Seifert
parent 1654a6b923
commit 2aa5efe315
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd
inherit systemd tmpfiles
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://github.com/logrotate/logrotate"
@@ -75,7 +75,7 @@ src_install() {
use cron && install_cron_file
systemd_dounit examples/logrotate.{service,timer}
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
keepdir /etc/logrotate.d
}
+2 -2
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit systemd
inherit systemd tmpfiles
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://github.com/logrotate/logrotate"
@@ -75,7 +75,7 @@ src_install() {
use cron && install_cron_file
systemd_dounit examples/logrotate.{service,timer}
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
keepdir /etc/logrotate.d
}
+2 -2
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit systemd
inherit systemd tmpfiles
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://github.com/logrotate/logrotate"
@@ -75,7 +75,7 @@ src_install() {
use cron && install_cron_file
systemd_dounit examples/logrotate.{service,timer}
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
keepdir /etc/logrotate.d
}