[pkg-ntp-maintainers] Bug#635752: That setup from above generates an error

Karl Schmidt karl at xtronics.com
Sun Oct 25 04:06:27 UTC 2015


One needs to do a :
  $ systemctl daemon-reload

After putting the file there.

The error is
/lib/systemd/system/ntp.service:6] Unknown lvalue '+ EnvironmentFile' in section 'Service'

Removing the 'plus-sign' won't fix it.


[OT but important bread-crumbs for others...]

The systemd-timesyncd.service works out of the box - no need to do anything but enable it in systemd 
- but if you need your own time server it fixes nothing. And if you want to use 
systemd-timesyncd.service and point it at your own time server you need to edit 
/etc/systemd/timesyncd.conf
  - the keyword Servers needs a Capital 's' and the s at the end.



More information about the pkg-ntp-maintainers mailing list