Forums

Resolved
0 votes
I am using MOSQUITTO for a lot of sensor applications. Now I have Mosquito installed on a Raspi 3. I would much more like it to run next to other servers within the ClearOs platform.

Is it possible to incorporate Mosquito into one of the repositories?

Regards
Ellard Postma
Monday, July 10 2017, 05:26 PM
Share this post:

Accepted Answer

Friday, July 28 2017, 06:54 AM - #Permalink
Resolved
0 votes
If that command works, you should also be able to do:
service mosquitto start
... and "stop", "status" and maybe others. If it has been set up for systemd, that command will redirect to:
systemctl start mosquitto.service
which is the new preferred way of working.

To start it automatically on boot, do a:
chkconfig mosquitto on
There is an equivalent systemd command as well - "systemctl enable mosquitto.service".
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Friday, July 28 2017, 05:06 AM - #Permalink
    Resolved
    0 votes
    Hi Nick

    It took me some time to react but following the advice you pointed at I managed to install Mosquitto onto my ClearOs server!
    The only thing missing is the description of how to start Mosquitto: log in via terminal as root into the server and apply the following command
    "/etc/init.d/mosquitto start". That works for me.

    Thanks.
    Ellard
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 10 2017, 08:41 PM - #Permalink
    Resolved
    0 votes
    It is already available in a repo for Centos7 on the Mosquitto site. I would expect it to be compatible with ClearOS.
    The reply is currently minimized Show
Your Reply