Browse Source

Add Avahi service configuration

Skylar Ittner 1 year ago
parent
commit
38d908ae4a
2 changed files with 14 additions and 0 deletions
  1. 1
    0
      configs/README.md
  2. 13
    0
      configs/bizapps.service

+ 1
- 0
configs/README.md View File

@@ -2,5 +2,6 @@
2 2
 
3 3
 This folder contains Debian configuration files with notable changes from common defaults.
4 4
 
5
+* `bizapps.service` -> `/etc/avahi/services/bizapps.service`: Avahi broadcast for mobile app
5 6
 * `cjdroute.conf` -> `/etc/cjdroute.conf`: CJDNS configuration
6 7
 * `nginx` -> `/etc/nginx/sites-enabled/default`: NGINX configuration

+ 13
- 0
configs/bizapps.service View File

@@ -0,0 +1,13 @@
1
+<?xml version="1.0" standalone='no'?>
2
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
3
+<service-group>
4
+ <name>BizApps</name>
5
+  <service>
6
+   <type>_http._tcp</type>
7
+   <port>80</port>
8
+   <txt-record>appid=bizappserver</txt-record>
9
+   <txt-record>webprotocol=http</txt-record>
10
+   <txt-record>webpath=/</txt-record>
11
+   <txt-record>model=accel1</txt-record>
12
+  </service>
13
+</service-group>

Loading…
Cancel
Save