--- rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 04:29:39 1.2 +++ rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 04:57:15 1.7 @@ -95,7 +95,7 @@ diff -Nur e-smith-ntp-2.6.0.old/createli diff -Nur e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-ntp.preset e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-ntp.preset --- e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-ntp.preset 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-ntp-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-ntp.preset 2020-11-26 23:22:46.951000000 -0500 -@@ -0,0 +1,13 @@ +@@ -0,0 +1,14 @@ +# nut UPS specific subservices +{ +my $status = $ntp{status} || 'disabled'; @@ -109,6 +109,7 @@ diff -Nur e-smith-ntp-2.6.0.old/root/etc + $OUT .= "disable ntpdate.service"; + $OUT .= "disable ntpd.service"; + } ++} diff -Nur e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install e-smith-ntp-2.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install --- e-smith-ntp-2.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-ntp-2.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/ntpd.service.d/50koozali.conf/80install 2020-11-26 23:26:16.570000000 -0500 @@ -121,3 +122,20 @@ diff -Nur e-smith-ntp-2.6.0.old/root/etc @@ -1,2 +0,0 @@ -enable ntpdate.service -enable ntpd.service +diff -Nur e-smith-ntp-2.6.0.old/createlinks e-smith-ntp-2.6.0/createlinks +--- e-smith-ntp-2.6.0.old/createlinks 2020-11-26 23:49:32.684000000 -0500 ++++ e-smith-ntp-2.6.0/createlinks 2020-11-26 23:49:53.047000000 -0500 +@@ -70,7 +70,6 @@ + + event_link("systemd-default", $event, "10"); + event_link("conf-timezone", $event, "30"); +-event_link("set-time-date", $event, "40"); + event_link("systemd-reload", $event, "50"); + + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ntpd"); +diff -Nur e-smith-ntp-2.6.0.old/root/usr/lib/systemd/system/ntpd.service.d/50koozali.conf e-smith-ntp-2.6.0/root/usr/lib/systemd/system/ntpd.service.d/50koozali.conf +--- e-smith-ntp-2.6.0.old/root/usr/lib/systemd/system/ntpd.service.d/50koozali.conf 2020-11-26 23:56:30.134000000 -0500 ++++ e-smith-ntp-2.6.0/root/usr/lib/systemd/system/ntpd.service.d/50koozali.conf 1969-12-31 19:00:00.000000000 -0500 +@@ -1,2 +0,0 @@ +-[Service] +-MemoryLimit=250000