mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-11 07:44:12 +02:00
Closes: https://bugs.gentoo.org/873514 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
26 lines
663 B
Diff
26 lines
663 B
Diff
From 4ba53b95a6a45f08f5d3436a4a3ba4f9a97146e2 Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Pipping <sebastian@pipping.org>
|
|
Date: Mon, 17 Apr 2023 00:24:32 +0200
|
|
Subject: [PATCH] Give ntpd a chance at re-opening the logfile as ntp:ntp after
|
|
rotation
|
|
|
|
https://bugs.gentoo.org/873514
|
|
---
|
|
etc/logrotate-config.ntpd | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/etc/logrotate-config.ntpd b/etc/logrotate-config.ntpd
|
|
index b64998e..9144e57 100644
|
|
--- a/etc/logrotate-config.ntpd
|
|
+++ b/etc/logrotate-config.ntpd
|
|
@@ -5,6 +5,7 @@
|
|
|
|
/var/log/ntpd.log {
|
|
monthly
|
|
+ create 640 ntp root
|
|
missingok
|
|
postrotate
|
|
/usr/bin/killall -HUP ntpd
|
|
--
|
|
2.40.0
|
|
|