Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.26 KB

File metadata and controls

78 lines (50 loc) · 1.26 KB

Telemersive Broker

broker contains the telemersive-broker and is the third component of the Telemersive Router

Installation

To install the mosquitto broker as a service (Debian with systemd) use the following commands as root:

cd /broker
./broker-service-install.sh

Configuration

Change Credentials

cd broker

Edit the users.pwd:

manager:password
peer:password

To encryp the passwords, run the following script:

./encrypt-userlist.sh

Update

To update please first stop the service to not break the running service and later start it again.

To test the mosquitto broker it is possible to run it without service installation:

./broker-run.sh

Service

# start service
sudo systemctl start telemersive-broker.service

# stop service
sudo systemctl stop telemersive-broker.service

# restart service
sudo systemctl restart telemersive-broker.service

# enable service (auto-start on restart)
sudo systemctl enable telemersive-broker.service

# disbale service
sudo systemctl disable telemersive-broker.service

# show status
sudo systemctl status telemersive-broker.service

Uninstall

sudo ./broker/broker-service-uninstall.sh

Credits

Scripts:

  • Florian Bruggisser