summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2018-06-10 19:30:50 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-17 20:44:24 +0200
commite8daa4a89ff90bc44a2debe97b407dbf9006c54d (patch)
tree6c1fed7081a2265ecdfb751f5b5f4a4c68b55921 /media-sound
parentmedia-libs/libdvdnav: stable 6.0.0 for ppc, bug #648060 (diff)
downloadgentoo-e8daa4a89ff90bc44a2debe97b407dbf9006c54d.tar.gz
gentoo-e8daa4a89ff90bc44a2debe97b407dbf9006c54d.tar.bz2
gentoo-e8daa4a89ff90bc44a2debe97b407dbf9006c54d.zip
media-sound/mpd: do a quiet reload after logrotate
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8791
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd/files/mpd-0.20.12.logrotate6
-rw-r--r--media-sound/mpd/mpd-0.20.12-r2.ebuild (renamed from media-sound/mpd/mpd-0.20.12-r1.ebuild)2
2 files changed, 7 insertions, 1 deletions
diff --git a/media-sound/mpd/files/mpd-0.20.12.logrotate b/media-sound/mpd/files/mpd-0.20.12.logrotate
new file mode 100644
index 000000000000..738313e9e310
--- /dev/null
+++ b/media-sound/mpd/files/mpd-0.20.12.logrotate
@@ -0,0 +1,6 @@
+/var/lib/mpd/log {
+ missingok
+ postrotate
+ /etc/init.d/mpd --quiet reload
+ endscript
+}
diff --git a/media-sound/mpd/mpd-0.20.12-r1.ebuild b/media-sound/mpd/mpd-0.20.12-r2.ebuild
index 413a9c53b120..85119e9eebe7 100644
--- a/media-sound/mpd/mpd-0.20.12-r1.ebuild
+++ b/media-sound/mpd/mpd-0.20.12-r2.ebuild
@@ -251,7 +251,7 @@ src_install() {
fi
insinto /etc/logrotate.d
- newins "${FILESDIR}"/${PN}-0.20.4.logrotate ${PN}
+ newins "${FILESDIR}"/${PN}-0.20.12.logrotate ${PN}
use prefix || diropts -m0755 -o mpd -g audio
dodir /var/lib/mpd