summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2018-03-22 13:55:31 -0700
committerPatrick McLean <chutzpah@gentoo.org>2018-03-22 13:55:31 -0700
commitd1dee7f811e67c7f937646a851336c49f6ed2095 (patch)
tree29faa140f82fa946162584d542e0b44ba0511f2b /net-dns/dnsmasq
parentmedia-libs/speex: Fix fixed point arithmetic on old ARM (diff)
downloadgentoo-d1dee7f811e67c7f937646a851336c49f6ed2095.tar.gz
gentoo-d1dee7f811e67c7f937646a851336c49f6ed2095.tar.bz2
gentoo-d1dee7f811e67c7f937646a851336c49f6ed2095.zip
net-dns/dnsmasq: Add "missingok" to logrotate script
Was pointed out by toralf. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-dns/dnsmasq')
-rw-r--r--net-dns/dnsmasq/files/dnsmasq.logrotate1
1 files changed, 1 insertions, 0 deletions
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