]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/service: introduce RefreshOnReload= setting
authorMike Yuan <me@yhndnzj.com>
Sun, 14 Dec 2025 17:20:36 +0000 (18:20 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 10 Feb 2026 20:54:12 +0000 (21:54 +0100)
commita43bc1aed81211af566aa0eb338dbecca2d99824
tree4ec0cfc68885ba820246cf2323698682afce9cb2
parent65ea71ead72a456d7ede35e38f812c44f6d6b3f0
core/service: introduce RefreshOnReload= setting

This allows controlling resources to be refreshed before performing
reload, with one extra benefit that in the future we can permit
"seemless reload"s, i.e. no active signaling is done to the main process
after refreshing get updated. This could come in handy for programs
that loads stuff on demand or watches changes via inotify.
src/core/dbus-service.c
src/core/load-fragment-gperf.gperf.in
src/core/load-fragment.c
src/core/load-fragment.h
src/core/service.c
src/core/service.h
src/shared/bus-unit-util.c