diff -urN e-smith-ntp-2.6.0.old/createlinks e-smith-ntp-2.6.0/createlinks --- e-smith-ntp-2.6.0.old/createlinks 2022-07-18 15:15:24.330528368 +0300 +++ e-smith-ntp-2.6.0/createlinks 2022-07-19 15:49:47.197795457 +0300 @@ -63,7 +63,7 @@ $event = "e-smith-ntp-update"; -foreach my $file (qw(/etc/ntp/step-tickers /etc/ntp.conf /usr/lib//systemd/system/ntpd.service.d/50koozali.conf /etc/systemd/system-preset/49-koozali.preset)) +foreach my $file (qw(/etc/ntp/step-tickers /etc/ntp.conf /usr/lib//systemd/system/ntpd.service.d/50koozali.conf /etc/systemd/system-preset/49-koozali.preset /etc/rsyslog.conf /etc/logrotate.d/ntpd)) { templates2events( $file, $event ); } diff -urN e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ntpd/10All e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ntpd/10All --- e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ntpd/10All 1970-01-01 02:00:00.000000000 +0200 +++ e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ntpd/10All 2022-07-18 14:50:42.000000000 +0300 @@ -0,0 +1,8 @@ +/var/log/ntp.log \{ + missingok + weekly + rotate 24 + compress + notifempty + copytruncate +\} diff -urN e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32ntp e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32ntp --- e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32ntp 1970-01-01 02:00:00.000000000 +0200 +++ e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32ntp 2022-07-18 14:35:45.000000000 +0300 @@ -0,0 +1,4 @@ +#ntp +:programname, isequal, "ntpd" /var/log/ntp.log +& stop +