You are not logged in.
Pages: 1
In the days of classic NTP there was a simple client program that synchronized the time when loading and exited.
Now ntpsec sits in memory permanently.
Can anyone suggest a way to unload it after the initial synchronization?
With this /etc/default/ntpsec, the computer will freeze at boot due to an error with access to pool.ntp.org.
NTPD_OPTS="-g -N -q"
Or is there another solution?
Last edited by aluma (2023-11-18 10:10:17)
Offline
On my systems I usually
apt-get install sntp
followed by running
sudo /usr/bin/sntp -sS [server] > /dev/null
a couple times a day via crontab.
Offline
On my systems I usually
sudo ...
Thanks a lot for the tip!
Added sudo to my ntp.stop file
#!/bin/sh
sudo /usr/sbin/ntpd -q
and placed it in DE startup folder.
The ntpsec service has been disabled.
Everything works, time is synchronized, ntp is not in memory.
Regards.
P.S. It is very easy to check synchronization with sufficient accuracy for home use.
Here is one of these sites, open it, if everything is ok, the time on the page will be blue, otherwise red.
time.in.ua
Last edited by aluma (2023-11-18 17:14:00)
Offline
Pages: 1