makemaker-defaults.mk: fallback COMPONENT_PROJECT_URL to dist
[oi-userland.git] / components / network / avahi / files / avahi-bridge-dsd.xml
blob4cb9d9a28c9927d763c70de0d2c6908c214d9f04
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4         Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
5         Use is subject to license terms.
7  CDDL HEADER START
9  The contents of this file are subject to the terms of the
10  Common Development and Distribution License, Version 1.0 only
11  (the "License").  You may not use this file except in compliance
12  with the License.
14  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15  or http://www.opensolaris.org/os/licensing.
16  See the License for the specific language governing permissions
17  and limitations under the License.
19  When distributing Covered Code, include this CDDL HEADER in each
20  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21  If applicable, add the following below this CDDL HEADER, with the
22  fields enclosed by brackets "[]" replaced with your own identifying
23  information: Portions Copyright [yyyy] [name of copyright owner]
25  CDDL HEADER END
27         ident   "@(#)avahi-bridge-dsd.xml       1.1     06/04/24 SMI"
29         NOTE:  This service manifest is not editable; its contents will
30         be overwritten by package or patch operations, including
31         operating system upgrade.  Make customizations in a different
32         file.
34         Service manifest for avahi.
35 -->
37 <service_bundle type='manifest' name='SUNWavahi-bridge-dsd:avahi-bridge-dsd'>
39 <service
40         name='system/avahi-bridge-dsd'
41         type='service'
42         version='1'>
44         <create_default_instance enabled='false' />
46         <single_instance />
48         <dependency name='usr'
49                 type='service'
50                 grouping='require_all'
51                 restart_on='none'>
52                 <service_fmri value='svc:/system/filesystem/local' />
53         </dependency>
55         <dependency name='dbus'
56                 type='service'
57                 grouping='require_all'
58                 restart_on='none'>
59                 <service_fmri value='svc:/system/dbus' />
60         </dependency>
62         <dependency name='multicast'
63                 type='service'
64                 grouping='require_all'
65                 restart_on='none'>
66                 <service_fmri value='svc:/network/dns/multicast' />
67         </dependency>
69         <exec_method
70                 type='method'
71                 name='start'
72                 exec='/lib/svc/method/svc-avahi-bridge-dsd start'
73                 timeout_seconds='30'>
74         </exec_method>
76         <exec_method
77                 type='method'
78                 name='stop'
79                 exec='/lib/svc/method/svc-avahi-bridge-dsd stop'
80                 timeout_seconds='30' />
82         <property_group name='startd' type='framework'>
83                 <!-- sub-process core dumps shouldn't restart session -->
84                 <propval name='ignore_error' type='astring'
85                     value='core,signal' />
86         </property_group>
88         <stability value='Unstable' />
90         <template>
91                 <common_name>
92                         <loctext xml:lang='C'>
93                         Avahi Daemon Bridge to Bonjour
94                         </loctext>
95                 </common_name>
96                 <documentation>
97                         <manpage title='avahi-daemon-bridge-dsd' section='1' manpath='/usr/man' />
98                 </documentation>
99         </template>
101 </service>
103 </service_bundle>