projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755506b
)
net-dns/dnsmasq: Add "missingok" to logrotate script
author
Patrick McLean
<chutzpah@gentoo.org>
Thu, 22 Mar 2018 20:55:31 +0000
(13:55 -0700)
committer
Patrick McLean
<chutzpah@gentoo.org>
Thu, 22 Mar 2018 20:55:31 +0000
(13:55 -0700)
Was pointed out by toralf.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-dns/dnsmasq/files/dnsmasq.logrotate
patch
|
blob
|
history
diff --git
a/net-dns/dnsmasq/files/dnsmasq.logrotate
b/net-dns/dnsmasq/files/dnsmasq.logrotate
index d689f8f875b7fc94d587167a4421ca25fb420a19..75372feef7bea2c0301adc494de3daeb463f6361 100644
(file)
--- 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