dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / hal / hald / solaris / hal.xml
blob24045bac349ef00fd2fbfc3be2f264ea261dfedf
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4         Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
6         Licensed under the Academic Free License version 2.1
8         NOTE:  This service manifest is not editable; its contents will
9         be overwritten by package or patch operations, including
10         operating system upgrade.  Make customizations in a different
11         file.
13         Service manifest for HAL.
14 -->
16 <service_bundle type='manifest' name='SUNWhalr:hal'>
18 <service
19         name='system/hal'
20         type='service'
21         version='1'>
23         <create_default_instance enabled='false' />
25         <single_instance />
27         <dependency name='usr'
28                 type='service'
29                 grouping='require_all'
30                 restart_on='none'>
31                 <service_fmri value='svc:/system/filesystem/minimal' />
32         </dependency>
34         <dependency
35                 name='devices'
36                 grouping='require_all'
37                 restart_on='none'
38                 type='service'>
39                 <service_fmri value='svc:/system/device/local' />
40         </dependency>
42         <dependency name='dbus'
43                 type='service'
44                 grouping='require_all'
45                 restart_on='none'>
46                 <service_fmri value='svc:/system/dbus' />
47         </dependency>
49         <dependency name='sysevent'
50                 type='service'
51                 grouping='require_all'
52                 restart_on='none'>
53                 <service_fmri value='svc:/system/sysevent' />
54         </dependency>
56         <dependency name='keymap'
57                 type='service'
58                 grouping='optional_all'
59                 restart_on='none'>
60                 <service_fmri value='svc:/system/keymap' />
61         </dependency>
63         <exec_method
64                 type='method'
65                 name='start'
66                 exec='/lib/svc/method/svc-hal start'
67                 timeout_seconds='600'>
68                 <method_context>
69                         <method_credential user='root' group='root' />
70                 </method_context>
71         </exec_method>
73         <exec_method
74                 type='method'
75                 name='stop'
76                 exec=':kill'
77                 timeout_seconds='30' />
79         <property_group name='startd' type='framework'>
80                 <!-- sub-process core dumps shouldn't restart session -->
81                 <propval name='ignore_error' type='astring'
82                     value='core,signal' />
83         </property_group>
85         <stability value='Unstable' />
87         <template>
88                 <common_name>
89                         <loctext xml:lang='C'>
90                         Hardware Abstraction Layer daemon
91                         </loctext>
92                 </common_name>
93                 <documentation>
94                         <manpage title='hald' section='1M' manpath='/usr/man' />
95                 </documentation>
96         </template>
98 </service>
100 </service_bundle>