r/hass-dhcp: Start dnsmasq after network is up

The *vlan99* interface needs to be created and activated by
`systemd-networkd` before `dnsmasq` can start and bind to it.  Ordering
the *dnsmasq.service* unit after *network.target* and
*network-online.target* should ensure that this is the case.
This commit is contained in:
2022-08-21 08:03:00 -05:00
parent b8b8ae5798
commit 7044cf3a46
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
[Unit]
After=network.target
After=network-online.target
Wants=network-online.target