]> git.meshlink.io Git - catta/blob - avahi-daemon/example.service
7d6c6b803fca762080f94b1bd971663a0dc29281
[catta] / avahi-daemon / example.service
1 <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
2 <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
3
4 <!-- $Id$ -->
5
6 <!--
7   This file is part of avahi.
8  
9   avahi is free software; you can redistribute it and/or modify it
10   under the terms of the GNU Lesser General Public License as
11   published by the Free Software Foundation; either version 2 of the
12   License, or (at your option) any later version.
13
14   avahi is distributed in the hope that it will be useful, but
15   WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17   General Public License for more details.
18
19   You should have received a copy of the GNU Lesser General Public
20   License along with avahi; if not, write to the Free Software
21   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22   02111-1307 USA.
23 -->
24
25 <!-- See avahi.service(5) for more information about this configuration file -->
26
27 <service-group>
28
29   <name replace-wildcards="yes">Printer on %h</name>
30
31   <service>
32     <type>_printer._tcp</type>
33     <port>515</port>
34   </service>
35
36   <service>
37     <type>_ipp._tcp</type>
38     <subtype>_colour._sub._ipp._tcp</subtype>
39     <port>631</port>
40   </service>
41
42   <service protocol="ipv6">
43     <type>_uberprinter._tcp</type>
44     <domain-name>local</domain-name>
45     <host-name>quux.local</host-name>
46     <port>4711</port>
47     <txt-record>this=is</txt-record>
48     <txt-record>a=really</txt-record>
49     <txt-record>bad=example</txt-record>
50   </service>
51
52 </service-group>