-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# The address of the MQTT broker to connect to | ||
MQTT_ADDRESS= | ||
|
||
# The credential to use when connecting to the MQTT broker | ||
# MQTT_USERNAME= | ||
# MQTT_PASSWORD= | ||
|
||
# The MQTT topic to publish locally discovered MDNS services to. Local discovery is disabled if unset. | ||
# MQTT_PUBLISH_TOPIC= | ||
# The MQTT topic to subscribe to. MDNS services received on this topic will be locally announced. | ||
# MQTT_SUBSCRIBE_TOPIC= | ||
|
||
# The interface to listed on and publish MDNS announcements to | ||
MDNS_INTERFACE=eth0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Service] | ||
Type=simple | ||
ExecStart=/usr/bin/mdns2mqtt | ||
RestartSec=5s | ||
Restart=always | ||
EnvironmentFile=-/etc/default/mdns2mqtt | ||
|
||
[Install] | ||
WantedBy=multi-user.target |