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