systemd wstunnel
Create /etc/systemd/system/wstunnel.service
[Unit]
Description=Wstunnel Server Service
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5s
LimitNOFILE=1048576
ExecStart=/usr/bin/wstunnel server wss://[::]:1234 -r aabbccddeeff
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable wstunnel.service
systemctl start wstunnel.service
systemctl status wstunnel.service