socket: optionally remove sockets/FIFOs in the file system after use

This commit is contained in:
Lennart Poettering
2014-06-04 13:12:34 +02:00
parent edf029b7fd
commit bd1fe7c79d
7 changed files with 89 additions and 29 deletions
+19
View File
@@ -730,6 +730,25 @@
option.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>RemoveOnStop=</varname></term>
<listitem><para>Takes a boolean
argument. If enabled any file nodes
created by this socket unit are
removed when it is stopped. This
applies to AF_UNIX sockets in the file
system, POSIX message queues as well
as FIFOs. Normally it should not be
necessary to use this option, and is
not recommended as services might
continue to run after the socket unit
has been terminated and it should
still be possible to communicate with
them via their file system
node. Defaults to
off.</para></listitem>
</varlistentry>
</variablelist>
<para>Check