1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

relay: evaluate path of unix socket relay

This commit is contained in:
Sébastien Helleu
2019-05-12 21:53:23 +02:00
parent b228ccdfc3
commit 585eb337e8
4 changed files with 28 additions and 23 deletions
+5 -2
View File
@@ -396,7 +396,7 @@ relay_command_init ()
"relay",
N_("relay control"),
N_("list|listfull|listrelay"
" || add <name> <port>"
" || add <name> <port>|<path>"
" || del|start|restart|stop <name>"
" || raw"
" || sslcertkey"),
@@ -411,6 +411,9 @@ relay_command_init ()
" stop: close the server socket (clients remain connected)\n"
" name: relay name (see format below)\n"
" port: port used for relay\n"
" path: path used for relay (for UNIX domain socket only); "
"\"%h\" at beginning of string is replaced by WeeChat home "
"(\"~/.weechat\" by default), content is evaluated (see /help eval)\n"
" raw: open buffer with raw Relay data\n"
" sslcertkey: set SSL certificate/key using path in option "
"relay.network.ssl_cert_key\n"
@@ -453,7 +456,7 @@ relay_command_init ()
" weechat protocol with SSL, using IPv4 + IPv6:\n"
" /relay add ipv4.ipv6.ssl.weechat 9001\n"
" weechat protocol over UNIX domain socket:\n"
" /relay add unix.weechat /tmp/weesock"),
" /relay add unix.weechat %h/relay_socket"),
"list %(relay_relays)"
" || listfull %(relay_relays)"
" || listrelay"