Skip to content

Instantly share code, notes, and snippets.

@DriesS

DriesS/ntp.log Secret

Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DriesS/bc5a7b8a76ad7147fb16 to your computer and use it in GitHub Desktop.
Save DriesS/bc5a7b8a76ad7147fb16 to your computer and use it in GitHub Desktop.
Enable ntp
root@arm:~# systemctl enable ntp.service
Synchronizing state for ntp.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d ntp defaults
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match ntp Default-Stop values (none)
Executing /usr/sbin/update-rc.d ntp enable
update-rc.d: using dependency based boot sequencing
root@arm:~# ps -ef | grep ntp
root 1785 1674 0 00:33 pts/0 00:00:00 grep ntp
root@arm:~# systemctl status ntp.service
ntp.service - LSB: Start NTP daemon
Loaded: loaded (/etc/init.d/ntp)
Active: active (exited) since Thu 2015-02-19 22:20:29 CET; 2 months 10 days ago
Process: 1188 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS)
Feb 19 22:20:29 arm systemd[1]: Started LSB: Start NTP daemon.
Feb 19 22:20:29 arm ntpd[1254]: proto: precision = 1.083 usec
May 02 00:29:17 arm systemd[1]: Started LSB: Start NTP daemon.
May 02 00:30:02 arm systemd[1]: Started LSB: Start NTP daemon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment