summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-03-09 00:02:19 +0100
committerLuca Boccassi <bluca@debian.org>2024-03-26 14:36:42 +0100
commit14a52176798bc2d013297b503ac6fa49a64e2725 (patch)
treef6c2a68e48fdbe249ce41dc93fd0d21a5984d125 /units
parenttest: use /run/ instead of /etc/ in TEST-75-RESOLVE (diff)
downloadsystemd-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.in2
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