]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: Add optional FDPOLL=0 argument to fdstore
authorKenny Levinsen <kl@kl.wtf>
Wed, 8 Apr 2020 18:19:30 +0000 (20:19 +0200)
committerKenny Levinsen <kl@kl.wtf>
Thu, 30 Apr 2020 17:42:26 +0000 (19:42 +0200)
commitcb5a46b84504006196e4415266c1a6414c07c9b3
treeaef16cbee4a79b4c5f570fa21a8f1f72e493811c
parent9dcd43b14927fe6f9182a252213dbf182d9d8e01
core: Add optional FDPOLL=0 argument to fdstore

A service can specify FDSTORE=1 FDPOLL=0 to request that PID1 does not
poll the fd to remove them on error. If set, fds will only be removed on
FDSTOREREMOVE=1 or when the service is done.

Fixes: #12086
man/sd_notify.xml
src/core/service.c