fuuko/dnsmasq: Reliably work after reboot
This commit is contained in:
parent
bb8c54065a
commit
602573cd34
|
@ -24,6 +24,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Make `local-service` work (requires network interface with all addresses)
|
||||
systemd.services.dnsmasq = {
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
services.prometheus.exporters.dnsmasq = {
|
||||
enable = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
|
|
Loading…
Reference in a new issue