Code: Select all
/relay add unix.weechat "${weechat_config_dir}/relay_socket
- https://weechat.org/files/doc/weechat/s ... nix_socket
- https://specs.weechat.org/specs/2021-00 ... -spec.html
Code: Select all
setfacl -m 'u:www-data:--x' "$HOME" "$HOME/.weechat" "$HOME/.config" "$HOME/.config/weechat"
- /home/username/.weechat/relay_socket available at https://tilde.green/~username/weechat.
- home/username/.config/weechat/relay_socket available at https://tilde.green/~username/weechatconf
If your relay client asks you for a port or if you want encryption, choose port 443, and that you do want encryption.
I believe the socket needs to be writable and readeable by www-data but not sure.