fuuko/dnsmasq: Reliably work after reboot

This commit is contained in:
Simon Bruder 2021-04-10 23:23:46 +02:00
parent bb8c54065a
commit 602573cd34
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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";