wget https://github.com/txthinking/brook/releases/download/v20190601/brook \
  && chmod +x brook

Create service unit file /etc/systemd/system/brook.service:

[Unit]
Description=brook
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt
ExecStart=/opt/brook server -l :10023 -p secret
Restart=on-failure

[Install]
WantedBy=multi-user.target

Start servive:

systemctl start brook
systemctl enable brook

Check status:

systemctl status brook

How to run Brook Server on Linux?