enable/disable ntp service on ubuntu 12.04
Posted
by
ntphelp
on Server Fault
See other posts from Server Fault
or by ntphelp
Published on 2013-08-06T05:05:08Z
Indexed on
2014/05/26
21:33 UTC
Read the original article
Hit count: 320
Our application runs on Ubuntu 12.04 Precise. On this server, we have both ntpdate
and ntp
.
How to enable and disable the NTP service on-demand? I tried
# sudo update-rc.d -f ntp remove/default
and
# sudo update-rc.d ntp enable/disable
commands, but when I reboot server the ntp
service starts running!
I suspect ntpdate
is starting ntp
service on reboot. I removed ntpdate
package from one of my experimental server, then ntp
didn't start on reboot after issuing:
# update-rc.d ntp disable
Is there a way to control this? or is there way to permanently disable ntpdate
?
© Server Fault or respective owner