comparison 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
comparison
equal deleted inserted replaced
1024:11b75fdc84de 1025:49a126e8aed0
111 Enable transport to interract with the 111 Enable transport to interract with the
112 .Nm irccdctl 112 .Nm irccdctl
113 utility or any networking program that can communicate through a UNIX domain 113 utility or any networking program that can communicate through a UNIX domain
114 socket. 114 socket.
115 .Pp 115 .Pp
116 .Ar transport to path 116 .Ar transport to path [with uid value gid value]
117 .Pp 117 .Pp
118 Enable transport on 118 Create the UNIX domain socket on
119 .Pa path . 119 .Pa path .
120 .Pp
121 The optional
122 .Ar uid
123 and
124 .Ar gid
125 keywords can take an optional
126 .Ar value
127 to change socket owner and group respectively, it can be a string or a number.
120 .\" server 128 .\" server
121 .Ss server 129 .Ss server
122 This section is used to connect to one or more server. Create a new server 130 This section is used to connect to one or more server. Create a new server
123 section block for each IRC server you want to connect to. 131 section block for each IRC server you want to connect to.
124 .Pp 132 .Pp
275 Full example of configuration file 283 Full example of configuration file
276 .Bd -literal 284 .Bd -literal
277 # Logs to syslog instead of console (which is the default). 285 # Logs to syslog instead of console (which is the default).
278 logs verbose to syslog 286 logs verbose to syslog
279 287
288 # Enable transport with default permissions.
289 transport to "/tmp/irccd.sock"
290
280 # 291 #
281 # Create a server "example" that connect to example.org using "fr" as nickname, 292 # Create a server "example" that connect to example.org using "fr" as nickname,
282 # "francis" as username and "Francis Meyer" as realname. 293 # "francis" as username and "Francis Meyer" as realname.
283 # 294 #
284 # This channel will automatically join "#test" on connection and the password 295 # This channel will automatically join "#test" on connection and the password