summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpd/files/mpd-0.23.15.logrotate')
-rw-r--r--media-sound/mpd/files/mpd-0.23.15.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/media-sound/mpd/files/mpd-0.23.15.logrotate b/media-sound/mpd/files/mpd-0.23.15.logrotate
new file mode 100644
index 000000000000..e1e57aef724f
--- /dev/null
+++ b/media-sound/mpd/files/mpd-0.23.15.logrotate
@@ -0,0 +1,9 @@
+/var/log/mpd/mpd.log {
+ missingok
+ weekly
+ delaycompress
+ compress
+ postrotate
+ /etc/init.d/mpd --quiet reload
+ endscript
+}