1 |
commit: d1dee7f811e67c7f937646a851336c49f6ed2095 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 20:55:31 2018 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 20:55:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1dee7f8 |
7 |
|
8 |
net-dns/dnsmasq: Add "missingok" to logrotate script |
9 |
|
10 |
Was pointed out by toralf. |
11 |
|
12 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
13 |
|
14 |
net-dns/dnsmasq/files/dnsmasq.logrotate | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/net-dns/dnsmasq/files/dnsmasq.logrotate b/net-dns/dnsmasq/files/dnsmasq.logrotate |
18 |
index d689f8f875b..75372feef7b 100644 |
19 |
--- a/net-dns/dnsmasq/files/dnsmasq.logrotate |
20 |
+++ b/net-dns/dnsmasq/files/dnsmasq.logrotate |
21 |
@@ -1,6 +1,7 @@ |
22 |
/var/log/dnsmasq.log { |
23 |
create 640 dnsmasq root |
24 |
notifempty |
25 |
+ missingok |
26 |
postrotate |
27 |
test -r /var/run/dnsmasq.pid && kill -USR2 "$(head -n1 /var/run/dnsmasq.pid)" |
28 |
endscript |