]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add a new sd_notify() message for removing fds from the FD store again
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 17:26:04 +0000 (18:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 27 Nov 2017 16:04:04 +0000 (17:04 +0100)
commite78ee06de1011aaa8de7a60d98fc18daee2edb26
treef30edb4550a0ffc68da532d0eff0de4f470fa857
parent8d1ab18a466b44a8641899f871fa322e395fdd36
core: add a new sd_notify() message for removing fds from the FD store again

Currenly the only way to remove fds from the fdstore is to fully
stop the service, or to somehow trigger POLLERR/POLLHUP on the fd, in
which case systemd will remove the fd automatically.

Let's add another way: a new message that can be sent to remove fds
explicitly, given their name.
man/sd_notify.xml
src/core/service.c
src/systemd/sd-daemon.h