angelos     14/03/22 15:59:44

  Modified:             mpd.logrotate
  Removed:              mpd-0.17.4-mikmod-crash.patch
  Log:
  Remove old, fix init script when running mpd under a different user (bug 
#497854)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
84F20B43)

Revision  Changes    Path
1.2                  media-sound/mpd/files/mpd.logrotate

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.logrotate?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.logrotate?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/files/mpd.logrotate?r1=1.1&r2=1.2

Index: mpd.logrotate
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.logrotate,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mpd.logrotate       10 Apr 2013 12:11:44 -0000      1.1
+++ mpd.logrotate       22 Mar 2014 15:59:44 -0000      1.2
@@ -1,6 +1,6 @@
 /var/lib/mpd/log {
        missingok
        postrotate
-       [ -f /var/run/mpd.pid ] && /bin/kill -HUP `cat /var/run/mpd.pid`
+       [ -f /var/run/mpd.pid ] && cat /var/run/mpd.pid | xargs /bin/kill -HUP
        endscript
 }




Reply via email to