[pkg-ntp-maintainers] Bug#635752: ntp: Please include systemd service file

Jordi Pujol Palomer jordipujolp at gmail.com
Thu Sep 25 08:43:49 UTC 2014


Hi,

Another optional way to go is consider that systemd already includes his
own timesync service,
therefore may be better disable or unistall ntp and use
systemd-timesyncd.

We can do the following:

ln -s /dev/null /lib/systemd/system/npt.service
or
apt-get remove --purge ntp


mkdir -p /lib/systemd/system/systemd-timesyncd.service.d

echo "[Install]
WantedBy=multi-user.target" >> \
/lib/systemd/system/systemd-timesyncd.service.d/install

systemctl enable systemd-timesyncd.service

Regards,

Jordi Pujol
Live never ending Tale
http://livenet.ddns.net



More information about the pkg-ntp-maintainers mailing list