nixos/dnsmasq: make dnsmasq --test actually test the config file (#426004)
This commit is contained in:
@@ -179,7 +179,7 @@ in
|
||||
touch ${stateDir}/dnsmasq.leases
|
||||
chown -R dnsmasq ${stateDir}
|
||||
${lib.optionalString cfg.resolveLocalQueries "touch /etc/dnsmasq-{conf,resolv}.conf"}
|
||||
dnsmasq --test
|
||||
dnsmasq --test -C ${cfg.configFile}
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "dbus";
|
||||
|
||||
Reference in New Issue
Block a user