summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/example.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-16 22:12:26 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-16 22:12:26 +0000
commitd7a2e63033dd0d2d248b4cab7bf35e78f4049354 (patch)
tree12b0c94c6b0f5fd007618b6ff6cb9c075a1e1e88 /avahi-daemon/example.service
parentf334deaf9d630782be3f7f535265ff7488162f85 (diff)
* add support for static service definitions for the daemon using XML fragments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@115 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/example.service')
-rw-r--r--avahi-daemon/example.service25
1 files changed, 25 insertions, 0 deletions
diff --git a/avahi-daemon/example.service b/avahi-daemon/example.service
new file mode 100644
index 0000000..8667412
--- /dev/null
+++ b/avahi-daemon/example.service
@@ -0,0 +1,25 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+<service-group>
+
+ <!-- $Id -->
+
+ <name replace-wildcards="yes">Remote Terminal on %h</name>
+
+ <service>
+ <type>_ssh._tcp</type>
+<!-- <domain-name>local</domain-name> -->
+<!-- <host-name>gurki.local</host-name> -->
+ <port>22</port>
+ <txt-record>foo=gaga</txt-record>
+ </service>
+
+ <service>
+ <type>_telnet._tcp</type>
+<!-- <domain-name>local</domain-name>
+ <host-name>gurki.local</host-name> -->
+ <port>23</port>
+ <txt-record>foo=bar</txt-record>
+ </service>
+
+</service-group>