diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-01 14:28:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-01 14:28:13 +0200 |
commit | 55301ec028937eab4722c9fd586fd77ffdbc50dd (patch) | |
tree | c329e5846069c3f80c8facfc17d604878081fabe /man/systemd.socket.xml | |
parent | systemctl: fix how we decode types and states (diff) | |
download | systemd-55301ec028937eab4722c9fd586fd77ffdbc50dd.tar.xz systemd-55301ec028937eab4722c9fd586fd77ffdbc50dd.zip |
core: add new setting Writable= to ListenSpecial= socket units
Writable= is a new boolean setting. If ture, then ListenSpecial= will
open the specified path in O_RDWR mode, rather than just O_RDONLY.
This is useful for implementing services like rfkill, where /dev/rfkill
is more useful when opened in write mode, if we want to not only save
but also restore its state.
Diffstat (limited to 'man/systemd.socket.xml')
-rw-r--r-- | man/systemd.socket.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 210bd71913..212764075d 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -382,6 +382,14 @@ </varlistentry> <varlistentry> + <term><varname>Writable=</varname></term> + <listitem><para>Takes a boolean argument. May only be used in + conjunction with <varname>ListenSpecial=</varname>. If true, + the specified special file is opened in read-write mode, if + false in read-only mode. Defaults to false.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>MaxConnections=</varname></term> <listitem><para>The maximum number of connections to simultaneously run services instances for, when |