From 77f40f165cc60a1d6b8a3503e4b7e46814d5935e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Wed, 19 Jun 2013 14:59:02 +0200 Subject: [PATCH] Describe handling of an AF_UNIX socket MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Describe how to handle an AF_UNIX socket, with Accept set to false, received from systemd, upon exit. Signed-off-by: Łukasz Stelmach --- man/systemd.socket.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 6dc847df3..f1e7d408a 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -381,9 +381,15 @@ performance reasons, it is recommended to write new daemons only in a way that is suitable for - . This - option is mostly useful to allow - daemons designed for usage with + . A daemon + listening on an AF_UNIX socket may, but does not need to, call + close2 + or + shutdown2 + on the received socket before exiting. However, + it must not unlink the socket from a + filesystem. This option is mostly useful + to allow daemons designed for usage with inetd8, to work unmodified with systemd socket activation. -- 2.30.2