-
-
Save DriesS/bc5a7b8a76ad7147fb16 to your computer and use it in GitHub Desktop.
Enable ntp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@arm:~# ps -ef | grep ntp | |
root 1785 1674 0 00:33 pts/0 00:00:00 grep ntp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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