Skip to content

Commit

Permalink
Added Avahi service file to expose mDNS services
Browse files Browse the repository at this point in the history
  • Loading branch information
martignoni committed Aug 6, 2016
1 parent 4116860 commit 0daabcc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/files/moodlebox.service.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=MoodleBox</txt-record>
</service>
<service>
<type>_ssh._tcp</type>
<port>22</port>
</service>
<service>
<type>_sftp-ssh._tcp</type>
<port>22</port>
</service>
<service>
<type>_http._tcp</type>
<port>80</port>
</service>
</service-group>

0 comments on commit 0daabcc

Please sign in to comment.