diff options
author | Luca Boccassi <bluca@debian.org> | 2024-03-09 00:02:19 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2024-03-26 14:36:42 +0100 |
commit | 14a52176798bc2d013297b503ac6fa49a64e2725 (patch) | |
tree | f6c2a68e48fdbe249ce41dc93fd0d21a5984d125 /units | |
parent | test: use /run/ instead of /etc/ in TEST-75-RESOLVE (diff) | |
download | systemd-14a52176798bc2d013297b503ac6fa49a64e2725.tar.xz systemd-14a52176798bc2d013297b503ac6fa49a64e2725.zip |
resolved: support reloading configuration at runtime
Drop connections and caches and reload config from files, to allow
for low-interruptions updates, and hook up to the usual SIGHUP and
ExecReload=. Mark servers and services configured directly via D-Bus
so that they can be kept around, and only the configuration file
settings are dropped and reloaded.
Fixes https://github.com/systemd/systemd/issues/17503
Fixes https://github.com/systemd/systemd/issues/20604
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-resolved.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in index 820aecfef6..717f572bc5 100644 --- a/units/systemd-resolved.service.in +++ b/units/systemd-resolved.service.in @@ -48,7 +48,7 @@ RuntimeDirectoryPreserve=yes SystemCallArchitectures=native SystemCallErrorNumber=EPERM SystemCallFilter=@system-service -Type=notify +Type=notify-reload User=systemd-resolve ImportCredential=network.dns ImportCredential=network.search_domains |