--- rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 04:51:29 1.6 +++ rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch 2020/11/27 05:12:40 1.8 @@ -101,13 +101,13 @@ diff -Nur e-smith-ntp-2.6.0.old/root/etc +my $status = $ntp{status} || 'disabled'; + +if ($status eq 'enabled') { -+ $OUT .= "disable ntpdate.service"; -+ $OUT .= "enable ntpd.service"; ++ $OUT .= "disable ntpdate.service\n"; ++ $OUT .= "enable ntpd.service\n"; + } +else + { -+ $OUT .= "disable ntpdate.service"; -+ $OUT .= "disable ntpd.service"; ++ $OUT .= "disable ntpdate.service\n"; ++ $OUT .= "disable ntpd.service\n"; + } +} 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 @@ -133,3 +133,9 @@ diff -Nur e-smith-ntp-2.6.0.old/createli 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