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:
4
roles/hass-dhcp/files/after-network.conf
Normal file
4
roles/hass-dhcp/files/after-network.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
[Unit]
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Reference in New Issue
Block a user