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