how to have ntp service started at boot time?

Bill Shirley bshirley at memphis.apirx.biz
Sun Jul 26 15:04:24 UTC 2015


Put this at the bottom of /etc/chrony.conf:
# comment out allow and noclientlog above
# my stuff
allow 10.0.0.0/8
allow 192.168.0.0/16
allow 172.16.0.0/12
broadcast 60 192.168.4.255
broadcast 60 192.168.6.255

(You may not want the broadcast statements).

then: systemctl restart chrony.service

You don't need ntpd.

HTH,
Bill


On 7/26/2015 10:48 AM, François Patte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bonjour,
>
> I want to have ntp service running on my machine, so I enabled this
> service:
>
> systemctl enable ntpd.service
>
> systemctl start ntpd.service
>
> But, every time I reboot my machine, ntp is dead....
>
>   systemctl status ntpd.service
> ● ntpd.service - Network Time Service
>     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
>     Active: inactive (dead)
>
> How to have running automatically?
>
> Thank you
> - --
> François Patte
> UFR de mathématiques et informatique
> Laboratoire CNRS MAP5, UMR 8145
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)1 8394 5849
> http://www.math-info.univ-paris5.fr/~patte
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlW0808ACgkQdE6C2dhV2JVrWwCfdSytq2jgzTvqnXz/NGKHJXGL
> qFAAn0LXLUIOLAozKLVBb4z158bFBtDV
> =M0F2
> -----END PGP SIGNATURE-----
>


More information about the users mailing list