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