I install the all in one installer (https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/) assuming that mosquitto comes integrated with it, but after installation I run the comands:
sudo mosquitto_passwd /etc/mosquitto/pwfile pi
sudo systemctl restart mosquitto.service
But all I got was the response “Failed to restart mosquitto.service: Unit mosquitto.service not found.”
Any solution??