Relay Weechat
Relay Weechat
- Set a password for the relay
- Add the session as a relay
/set relay.network.passowrd <password>
/relay add weechat 9001
Create weechat-headless
as a systemd service and start it within a tmux
session
# ~/.config/systemd/user/weechat-headless.service
[Unit]
Description=A headless WeeChat client and relay service
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/weechat-headless --daemon
[Install]
WantedBy=default.target
Enable and start the service
systemctl --user enable weechat.service
systemctl --user start weechat.service
Note: Make sure it is with a
tmux
session, else the process will stop as it is a fork when thessh
session is over