seatd: s6-style readiness notification support

This adds the ability to specify the number of an fd that is inherited
by the process as open. Once seatd is read to serve requests, it will
write a single newline and close the fd.
This commit is contained in:
Kenny Levinsen 2021-04-20 22:54:30 +02:00
parent d03e9d1c35
commit 312d6906ae
2 changed files with 22 additions and 1 deletions

View file

@ -13,6 +13,11 @@ seatd - A seat management daemon
*-h*
Show help message and quit.
*-n*
FD to notify readiness on. A single newline will be written and the fd
closed when seatd is ready to serve requests. This is compatible with
s6's notification protocol.
*-u <user>*
User to own the seatd socket.