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