diff man/irccd.conf.5 @ 1025:49a126e8aed0

irccd: transport can now set an uid/gid
author David Demelier <markand@malikania.fr>
date Wed, 24 Feb 2021 09:38:02 +0100
parents cf99df45cb84
children d7764d6cdab8
line wrap: on
line diff
--- a/man/irccd.conf.5	Tue Feb 23 20:57:37 2021 +0100
+++ b/man/irccd.conf.5	Wed Feb 24 09:38:02 2021 +0100
@@ -113,10 +113,18 @@
 utility or any networking program that can communicate through a UNIX domain
 socket.
 .Pp
-.Ar transport to path
+.Ar transport to path [with uid value gid value]
+.Pp
+Create the UNIX domain socket on
+.Pa path .
 .Pp
-Enable transport on
-.Pa path .
+The optional
+.Ar uid
+and
+.Ar gid
+keywords can take an optional
+.Ar value
+to change socket owner and group respectively, it can be a string or a number.
 .\" server
 .Ss server
 This section is used to connect to one or more server. Create a new server
@@ -277,6 +285,9 @@
 # Logs to syslog instead of console (which is the default).
 logs verbose to syslog
 
+# Enable transport with default permissions.
+transport to "/tmp/irccd.sock"
+
 #
 # Create a server "example" that connect to example.org using "fr" as nickname,
 # "francis" as username and "Francis Meyer" as realname.