summaryrefslogtreecommitdiff
path: root/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch
blob: 4556d7a50f7dfb2dfb307984df6f68663c43d49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 252a301aba9a685b5b6df7824c576f52cc19fb81 Mon Sep 17 00:00:00 2001
From: Stephen Arnold <nerdboy@gentoo.org>
Date: Fri, 8 Nov 2019 16:41:16 -0800
Subject: [PATCH] etc/logrotate-config.ntpd: make sure it has missingok

* note master branch does not need this, but all the releases do

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
---
 etc/logrotate-config.ntpd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/logrotate-config.ntpd b/etc/logrotate-config.ntpd
index e5d8616bf..a49129d45 100644
--- a/etc/logrotate-config.ntpd
+++ b/etc/logrotate-config.ntpd
@@ -5,6 +5,8 @@
 
 /var/log/ntpd.log {
     monthly
+    notifempty
+    missingok
     postrotate
       /usr/bin/killall -HUP ntpd
     endscript
-- 
2.21.0