mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
Make systemd-resolved's config file a reload trigger
It is documented to re-read its configuration file upon reload, so we can simply reload it instead of restarting the whole daemon.
This commit is contained in:
parent
0c5719fe0e
commit
ad55e1a1ef
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ in
|
|||
systemd.services.systemd-resolved = {
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
aliases = [ "dbus-org.freedesktop.resolve1.service" ];
|
||||
restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
|
||||
reloadTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
|
||||
stopIfChanged = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue