1 <?xml version="1.0"?><!--*-nxml-*-->
2 <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3 <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
8 This file is part of avahi.
10 avahi is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as
12 published by the Free Software Foundation; either version 2.1 of the
13 License, or (at your option) any later version.
15 avahi is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
18 Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with avahi; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26 <manpage name="avahi-publish-service" section="1" desc="Register an mDNS/DNS-SD service using the Avahi daemon">
29 <cmd>avahi-publish-service [<arg>options</arg>] <arg>name</arg> <arg>service-type</arg> <arg>port</arg></cmd>
30 <cmd>avahi-publish-service <opt>--help</opt></cmd>
34 <p>Register an mDNS/DNS-SD service using the Avahi daemon.</p>
39 <p>Specify a DNS-SD service name (e.g. "Lennart's Files"), a
40 service type (e.g. _http._tcp) and an IP port number for the
41 service on the command line.</p>
44 <p><opt>-H | --host=</opt> <arg>HOSTNAME</arg></p>
45 <optdesc><p>Specify a host name for this service, in case it
46 doesn't reside on the local host. This host name needs to be
47 resolvable using mDNS, consider using <manref
48 name="avahi-publish-address" section="1"/> to register it
53 <p><opt>-d | --domain=</opt> <arg>DOMAIN</arg></p>
54 <optdesc><p>Publish the service in the specified domain. If
55 omited the Avahi daemon will publish it in its default domain
56 (probably .local).</p></optdesc>
60 <p><opt>-h | --help</opt></p>
61 <optdesc><p>Show help</p></optdesc>
66 <section name="Authors">
67 <p>The avahi developers <@PACKAGE_BUGREPORT@>; avahi is
68 available from <url href="@PACKAGE_URL@"/></p>
71 <section name="See also">
73 <manref name="avahi-publish-address" section="1"/>, <manref
74 name="avahi-browse" section="1"/>, <manref
75 name="avahi-daemon" section="8"/>
79 <section name="Comments">
80 <p>This man page was written using <manref name="xml2man" section="1"
81 href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>