Hi, Here is a revised systemd service file. I only added a single line "EnvironmentFile=-/etc/default/ntp".
This sources the environment variables in this file (now only $NTPD_OPTS), only if it exists. For the "RUNASUSER", it is indeed better to copy & modify the service in /etc/systemd/system . (changes can be monitored with systemd-delta). Then there remains the DHCP stuff: I got it working with a small helper script. Can you include this for Jessie ? It maybe not a perfect solution, but anyone is welcome to find a better one :-) ----------------- [Unit] Description=Network Time Protocol daemon After=network.target [Service] + EnvironmentFile=-/etc/default/ntp ExecStartPre=/usr/sbin/ntpconf ExecStart=/usr/sbin/ntpd -n $NTPD_OPTS -u ntp:ntp -c /var/lib/ntp/ntp.conf [Install] WantedBy=multi-user.target ------------ root@raspberrypi:/etc/systemd/system# cat /usr/sbin/ntpconf #!/bin/sh if [ -e /var/lib/ntp/ntp.conf.dhcp ] then cp /var/lib/ntp/ntp.conf.dhcp /var/lib/ntp/ntp.conf else cp /etc/ntp.conf /var/lib/ntp/ntp.conf fi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org