nerves_dnssd v0.3.1 Nerves.Dnssd.Daemon View Source

This process starts and manages the lifecycle of the mDNS “daemon”.

It is started as part of the Nerves_dnssd application. Via the config option :daemon_restart the start behaviour can be managed.

Default is restart strategy is :permanent. On a desktop there may already be a daemon running, so a failed start should just be ignored, by either setting this property to :temporary (try once and ignore failure) or :ignore. To change the restart behavior, update config/config.exs. E.g.

config :nerves_dnssd,
  daemon_restart: :temporary

Setting the restart strategy to :transient is also an option, although :permanent is probably prefered in such circumstances.

Link to this section Summary

Functions

Start the mDNS daemon process

Link to this section Functions

Start the mDNS daemon process