9804 hal-set-property should support --direct option
[unleashed.git] / usr / src / cmd / oplhpd / oplhpd.xml
blobbb192612b3cc0fe417b9d891a7e25a666399d4fb
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
8  
9   The contents of this file are subject to the terms of the
10   Common Development and Distribution License (the "License").
11   You may not use this file except in compliance with the License.
13   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14   or http://www.opensolaris.org/os/licensing.
15   See the License for the specific language governing permissions
16   and limitations under the License.
18   When distributing Covered Code, include this CDDL HEADER in each
19   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20   If applicable, add the following below this CDDL HEADER, with the
21   fields enclosed by brackets "[]" replaced with your own identifying
22   information: Portions Copyright [yyyy] [name of copyright owner]
24   CDDL HEADER END
26         ident   "%Z%%M% %I%     %E% SMI"
28         NOTE:  This service manifest is not editable; its contents will
29         be overwritten by package or patch operations, including
30         operating system upgrade.  Make customizations in a different
31         file.
32 -->
34 <service_bundle type='manifest' name='SUNWdcsr:oplhpd'>
36 <service
37         name='platform/sun4u/oplhpd'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance/>
45         <!--
46                 At present, the oplhpd.xml manifest is delivered outside of
47                 SUNWdcsr because it is a usr package.  Therefore we insert a
48                 dependency on the oplhpd binary being present (i.e. SUNWdcsu
49                 has been installed).
50         -->
51         <dependency
52                 name='SUNWdcsu'
53                 grouping='require_all'
54                 restart_on='none'
55                 type='path'>
56                 <service_fmri value='file://localhost/usr/platform/SUNW,SPARC-Enterprise/lib/sparcv9/oplhpd' />
57         </dependency>
59         <!--
60                 oplhpd should be started after syseventd is running.
61         -->
62         <dependency
63                 name='startup_req'
64                 grouping='require_all'
65                 restart_on='none'
66                 type='service'>
67                 <service_fmri value='svc:/system/sysevent' />
68         </dependency>
70         <exec_method
71                 type='method'
72                 name='start'
73                 exec='/lib/svc/method/svc-oplhpd'
74                 timeout_seconds='60' />
76         <exec_method
77                 type='method'
78                 name='stop'
79                 exec=':kill'
80                 timeout_seconds='60' />
82         <stability value='Unstable' />
84         <template>
85                 <common_name>
86                         <loctext xml:lang='C'>
87                         SPARC-Enterprise hot-plug daemon
88                         </loctext>
89                 </common_name>
90                 <documentation>
91                         <manpage title='oplhpd' section='1M'
92                                 manpath='/usr/share/man' />
93                 </documentation>
94         </template>
95 </service>
97 </service_bundle>