I installed mosquitto it works with several esp8266/espeasy nodes that talk MQTT to Domoticz. Now I like to make mosquitto autorun on bootup, so I do not have to login and run the command "mosquitto" every time after a reboot.
I cannot figure out how to do this. I think I have to add a line or something in file /etc/mosquitto/conf.d/mosquitto.conf.
This file looks like this ( everything else is commented out)
Code: Select all
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
bind_address 192.168.178.38
port 1883