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