probonopd / announce

Announce services on the network with Zeroconf/Bonjour with minimal overhead.
15 stars 5 forks source link

Announce mosquitto #10

Open probonopd opened 8 years ago

probonopd commented 8 years ago

Announce when /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf is running.

This is the Avahi equivalent:

<!-- Put this in /etc/avahi/services/mosquitto.service -->

<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
 <name replace-wildcards="yes">Mosquitto MQTT server on %h</name>
  <service>
   <type>_mqtt._tcp</type>
   <port>1883</port>
   <txt-record>info=Publish, Publish! Read all about it! mqtt.org</txt-record>
  </service>
</service-group>