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