Fedora 21 ntpd restart problems after boot
This seems to finally have got it working across boots
sudoedit /usr/lib/systemd/system/ntpd.service
sudoedit /etc/systemd/system/ntpd.service.d/restart.conf
sudo systemctl daemon-reload
sudo systemctl restart ntpd.service
Update: still a problem finally googled right, it is %#(%^&(#^ service called chrony.
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
[Service]
Restart=always
RestartSec=17
sudo systemctl restart ntpd.service
Update: still a problem finally googled right, it is %#(%^&(#^ service called chrony.
Comments
Post a Comment