]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
chrony: Drop logrotate configuration
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 4 Mar 2023 14:59:25 +0000 (14:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 4 Mar 2023 14:59:25 +0000 (14:59 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
chrony/chrony.logrotate [deleted file]
chrony/chrony.nm

diff --git a/chrony/chrony.logrotate b/chrony/chrony.logrotate
deleted file mode 100644 (file)
index 4bb83b2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/var/log/chrony/*.log {
-    missingok
-    nocreate
-    sharedscripts
-    postrotate
-        /usr/libexec/chrony-helper command cyclelogs > /dev/null 2>&1 || true
-    endscript
-}
index 10d6a4942db43d6c9b20fe7ea607053698587430..fbf6ae4cbb33a2281420313149b72abf0eb8a8e2 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = chrony
 version    = 4.3
-release    = 1
+release    = 2
 
 groups     = System/Daemons
 url        = https://chrony.tuxfamily.org
@@ -53,10 +53,6 @@ build
                install -m 640 -p %{DIR_SOURCE}/chrony.keys %{BUILDROOT}/etc/chrony.keys
                chown -v root.chrony %{BUILDROOT}/etc/chrony.keys
 
-               mkdir -pv %{BUILDROOT}/etc/logrotate.d
-               install -m 644 -p %{DIR_SOURCE}/chrony.logrotate \
-                       %{BUILDROOT}/etc/logrotate.d/chrony
-
                chown -Rv chrony.chrony %{BUILDROOT}/var/{lib,log}/chrony
        end
 end