fuuko/dnsmasq: Reliably work after reboot

pull/52/head
Simon Bruder 2021-04-10 23:23:46 +02:00
parent bb8c54065a
commit 602573cd34
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 6 additions and 0 deletions

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