mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
nixos/resolved: Include dbus alias of resolved unit
This will make dbus socket activation for it work When `systemd-resolved` is restarted; this would lead to unavailability of DNS lookups. You're supposed to use DBUS socket activation to buffer resolved requests; such that restarts happen without downtime
This commit is contained in:
parent
ee032804f8
commit
7fe539f799
|
@ -144,6 +144,7 @@ in
|
|||
|
||||
systemd.additionalUpstreamSystemUnits = [
|
||||
"systemd-resolved.service"
|
||||
"dbus-org.freedesktop.resolve1.service"
|
||||
];
|
||||
|
||||
systemd.services.systemd-resolved = {
|
||||
|
|
Loading…
Reference in a new issue