summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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