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