From 55301ec028937eab4722c9fd586fd77ffdbc50dd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Oct 2015 14:28:13 +0200 Subject: 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. --- man/systemd.socket.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man/systemd.socket.xml') 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 @@ -381,6 +381,14 @@ For SOCK_RAW the port is the IP protocol. + + Writable= + Takes a boolean argument. May only be used in + conjunction with ListenSpecial=. If true, + the specified special file is opened in read-write mode, if + false in read-only mode. Defaults to false. + + MaxConnections= The maximum number of connections to -- cgit v1.2.3-54-g00ecf