diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | systemd/dyndhcpd@.service (renamed from dyndhcpd@.service) | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -30,9 +30,9 @@ install: install-bin install-doc install-bin: dyndhcpd $(INSTALL) -D -m0755 dyndhcpd $(DESTDIR)/usr/bin/dyndhcpd - $(INSTALL) -D -m0644 dyndhcpd@.service $(DESTDIR)/usr/lib/systemd/system/dyndhcpd@.service $(INSTALL) -D -m0644 config/dhcpd.conf $(DESTDIR)/etc/dyndhcpd/dhcpd.conf $(INSTALL) -D -m0644 config/ipxe-options.conf $(DESTDIR)/etc/dyndhcpd/ipxe-options.conf + $(INSTALL) -D -m0644 systemd/dyndhcpd@.service $(DESTDIR)/usr/lib/systemd/system/dyndhcpd@.service install-doc: README.html $(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/dyndhcpd/README.md diff --git a/dyndhcpd@.service b/systemd/dyndhcpd@.service index ce49fd8..8eb1867 100644 --- a/dyndhcpd@.service +++ b/systemd/dyndhcpd@.service @@ -1,6 +1,7 @@ [Unit] Description=IPv4 DHCP server for interface %i After=network.target +Requires=sys-subsystem-net-devices-%i.device [Service] ExecStart=/usr/bin/dyndhcpd -i%i |