Fedora 21 ntpd restart problems after boot

This seems to finally have got it working across boots

sudoedit /usr/lib/systemd/system/ntpd.service
[Unit]
Description=Network Time Service
After=syslog.target ntpdate.service sntp.service multi-user.target network.target sshd.service
Conflicts=systemd-timesyncd.service
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/ntpd
ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS
PrivateTmp=true
[Install]
#WantedBy=multi-user.target
WantedBy=default.target

sudoedit /etc/systemd/system/ntpd.service.d/restart.conf
[Service]
Restart=always
RestartSec=17

sudo systemctl daemon-reload

sudo systemctl restart ntpd.service

Update: still a problem finally googled right, it is %#(%^&(#^ service called chrony.

Comments

Popular posts from this blog

Xubuntu Home Server on Dell XPS 13 9370

Cygwin + syslog-ng

Installing Fedora 21 on a (late 2014) Mac Mini