summaryrefslogtreecommitdiff
path: root/media-sound/mpd/files/mpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpd/files/mpd.logrotate')
-rw-r--r--media-sound/mpd/files/mpd.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-sound/mpd/files/mpd.logrotate b/media-sound/mpd/files/mpd.logrotate
new file mode 100644
index 0000000..94933df
--- /dev/null
+++ b/media-sound/mpd/files/mpd.logrotate
@@ -0,0 +1,6 @@
+/var/lib/mpd/log {
+ missingok
+ postrotate
+ [ -f /var/run/mpd.pid ] && /bin/kill -HUP `cat /var/run/mpd.pid`
+ endscript
+}