dhcp: add systemd service file
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Mon, 15 Sep 2014 21:04:43 +0000 (23:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 29 Oct 2014 22:00:02 +0000 (23:00 +0100)
commit938056f948cc00041be64c9f0394f79d820df3bd
tree93308f5ca7158b3177b8371bd78ffde7e7a38cd0
parent146f69ec79672d7dd81a8d6e3adc549b16d32f4e
dhcp: add systemd service file

Add a systemd service file to start dhcpd.

The network interfaces to listen on can be set via the variable
INTERFACES in /etc/default/dhcpd.conf. Example:

  INTERFACES="eth0 eth1"

Also install a tmpfiles.d file to create /var/lib/dhcp/dhcpd.leases
(needed at dhcpd start-up).

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcp/dhcp.mk
package/dhcp/dhcpd.service [new file with mode: 0644]