xref: /illumos-gate/usr/src/cmd/hal/hald/solaris/hal.xml (revision 4eaa471005973e11a6110b69fe990530b3b95a38)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4	Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5	Use is subject to license terms.
6
7        Licensed under the Academic Free License version 2.1
8
9	NOTE:  This service manifest is not editable; its contents will
10	be overwritten by package or patch operations, including
11	operating system upgrade.  Make customizations in a different
12	file.
13
14	Service manifest for HAL.
15-->
16
17<service_bundle type='manifest' name='SUNWhalr:hal'>
18
19<service
20	name='system/hal'
21	type='service'
22	version='1'>
23
24	<create_default_instance enabled='false' />
25
26	<single_instance />
27
28	<dependency name='usr'
29		type='service'
30		grouping='require_all'
31		restart_on='none'>
32		<service_fmri value='svc:/system/filesystem/local' />
33	</dependency>
34
35	<dependency
36		name='devices'
37		grouping='require_all'
38		restart_on='none'
39		type='service'>
40		<service_fmri value='svc:/system/device/local' />
41	</dependency>
42
43	<dependency name='dbus'
44		type='service'
45		grouping='require_all'
46		restart_on='none'>
47		<service_fmri value='svc:/system/dbus' />
48	</dependency>
49
50	<exec_method
51		type='method'
52		name='start'
53		exec='/lib/svc/method/svc-hal start'
54		timeout_seconds='600'>
55		<method_context>
56			<method_credential user='root' group='root' />
57		</method_context>
58	</exec_method>
59
60	<exec_method
61		type='method'
62		name='stop'
63		exec=':kill'
64		timeout_seconds='30' />
65
66	<property_group name='startd' type='framework'>
67		<!-- sub-process core dumps shouldn't restart session -->
68		<propval name='ignore_error' type='astring'
69		    value='core,signal' />
70	</property_group>
71
72	<stability value='Unstable' />
73
74	<template>
75		<common_name>
76			<loctext xml:lang='C'>
77			Hardware Abstraction Layer daemon
78			</loctext>
79		</common_name>
80		<documentation>
81			<manpage title='hald' section='1M' manpath='/usr/man' />
82		</documentation>
83	</template>
84
85</service>
86
87</service_bundle>
88