Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
+++ /dev/null
-/var/log/chrony/*.log {
- missingok
- nocreate
- sharedscripts
- postrotate
- /usr/libexec/chrony-helper command cyclelogs > /dev/null 2>&1 || true
- endscript
-}
name = chrony
version = 4.3
-release = 1
+release = 2
groups = System/Daemons
url = https://chrony.tuxfamily.org
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