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