Disable http-time

Hi,
I was recently running problems syncing ntp (i run a local ntp server), so i disabled it and just forced an ntpdate-debian call in rc.local. it works fine, but i want to remove other redundant operations.
now, i just want to know how to disable the http-time service (cleanly). i dont really need it now, so i tried to chmod -x the binary, but it coughs up ugly messages on startup.

any help greatly appreciated. thanks!

sudo systemctl disable http-time

You should ideally keep this service on.

ntp will not handle significant time jumps, which is one of the reasons we use http-time. The other reason is to work with systems that block the NTP port.

You may want to add a ‘local’ service which overrides our one. Then you can set it to Exec=/bin/true which will ensure it stays disabled across updates.

Thank you very much, programming god!

The reason for this is because my internet connection device is detachable from the network. things must function standalone at most times.

The use of http-time will not prevent hotplugging network and retaining reliable time.