commit: d1dee7f811e67c7f937646a851336c49f6ed2095
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 20:55:31 2018 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 20:55:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1dee7f8
net-dns/dnsmasq: Add "missingok" to logrotate script
Was pointed out by toralf.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-dns/dnsmasq/files/dnsmasq.logrotate | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-dns/dnsmasq/files/dnsmasq.logrotate
b/net-dns/dnsmasq/files/dnsmasq.logrotate
index d689f8f875b..75372feef7b 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