From: Patrick McLean Date: Thu, 22 Mar 2018 20:55:31 +0000 (-0700) Subject: net-dns/dnsmasq: Add "missingok" to logrotate script X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d1dee7f811e67c7f937646a851336c49f6ed2095;p=gentoo.git net-dns/dnsmasq: Add "missingok" to logrotate script Was pointed out by toralf. Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- diff --git a/net-dns/dnsmasq/files/dnsmasq.logrotate b/net-dns/dnsmasq/files/dnsmasq.logrotate index d689f8f875b7..75372feef7be 100644 --- a/net-dns/dnsmasq/files/dnsmasq.logrotate +++ b/net-dns/dnsmasq/files/dnsmasq.logrotate @@ -1,6 +1,7 @@ /var/log/dnsmasq.log { create 640 dnsmasq root notifempty + missingok postrotate test -r /var/run/dnsmasq.pid && kill -USR2 "$(head -n1 /var/run/dnsmasq.pid)" endscript