/[smeserver]/rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008_systemd.patch
ViewVC logotype

Diff of /rpms/e-smith-ntp/sme10/e-smith-ntp-2.6.0-bz11008_systemd.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Fri Nov 27 02:25:07 2020 UTC Revision 1.3 by jpp, Fri Nov 27 04:29:39 2020 UTC
# Line 78  diff -urN e-smith-ntp-2.6.0.old/root/etc Line 78  diff -urN e-smith-ntp-2.6.0.old/root/etc
78  -   $OUT = $ntpd{MemLimit} || MIN_MEMORY_LIMIT;  -   $OUT = $ntpd{MemLimit} || MIN_MEMORY_LIMIT;
79  -}  -}
80  -  -
 diff -urN e-smith-ntp-2.6.0.old/root/etc/systemd/system/ntpdate.service e-smith-ntp-2.6.0/root/etc/systemd/system/ntpdate.service  
 --- e-smith-ntp-2.6.0.old/root/etc/systemd/system/ntpdate.service       1970-01-01 04:00:00.000000000 +0400  
 +++ e-smith-ntp-2.6.0/root/etc/systemd/system/ntpdate.service   2020-11-14 11:06:30.000000001 +0400  
 @@ -0,0 +1,14 @@  
 +[Unit]  
 +Description=Set time via NTP (ntpdate)  
 +After=network-online.target nss-lookup.target  
 +Before=time-sync.target  
 +Wants=time-sync.target network-online.target  
 +  
 +[Service]  
 +Type=oneshot  
 +ExecStartPre=/sbin/e-smith/service-status ntpd  
 +ExecStart=/usr/libexec/ntpdate-wrapper  
 +RemainAfterExit=yes  
 +  
 +[Install]  
 +WantedBy=sme-server.target  
 diff -urN e-smith-ntp-2.6.0.old/root/etc/systemd/system/ntpd.service e-smith-ntp-2.6.0/root/etc/systemd/system/ntpd.service  
 --- e-smith-ntp-2.6.0.old/root/etc/systemd/system/ntpd.service  1970-01-01 04:00:00.000000000 +0400  
 +++ e-smith-ntp-2.6.0/root/etc/systemd/system/ntpd.service      2020-11-14 11:07:10.000000001 +0400  
 @@ -0,0 +1,13 @@  
 +[Unit]  
 +Description=Network Time Service (ntpd)  
 +After=syslog.target ntpdate.service sntp.service  
 +  
 +[Service]  
 +Type=forking  
 +EnvironmentFile=-/etc/sysconfig/ntpd  
 +ExecStartPre=/sbin/e-smith/service-status ntpd  
 +ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS  
 +PrivateTmp=true  
 +  
 +[Install]  
 +WantedBy=sme-server.target  
81  diff -urN 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  diff -urN 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
82  --- e-smith-ntp-2.6.0.old/root/usr/lib//systemd/system/ntpd.service.d/50koozali.conf    1970-01-01 04:00:00.000000000 +0400  --- e-smith-ntp-2.6.0.old/root/usr/lib//systemd/system/ntpd.service.d/50koozali.conf    1970-01-01 04:00:00.000000000 +0400
83  +++ e-smith-ntp-2.6.0/root/usr/lib//systemd/system/ntpd.service.d/50koozali.conf        2020-11-14 11:10:29.000000001 +0400  +++ e-smith-ntp-2.6.0/root/usr/lib//systemd/system/ntpd.service.d/50koozali.conf        2020-11-14 11:10:29.000000001 +0400


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed