media-sound/murmur: Make logrotate file systemd compliant
authorAndrey Tikhomirov <vamp@vampik.ru>
Thu, 11 Jul 2019 08:25:08 +0000 (10:25 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 11 Jul 2019 08:25:41 +0000 (10:25 +0200)
Closes: https://bugs.gentoo.org/689208
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-sound/murmur/files/murmur.logrotate

index c6ca48bbfb5789a8629c8c985972b5a2d9d99aa9..a82cb1a336c4b484c103b5098fd96901d68dff29 100644 (file)
@@ -3,6 +3,6 @@
        notifempty
        sharedscripts
        postrotate
-               /etc/init.d/murmur reload > /dev/null
+               test -r /run/murmur/murmur.pid && kill -HUP $(cat /run/murmur/murmur.pid) &>/dev/null
        endscript
 }