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. 5 6 Licensed under the Academic Free License version 2.1 7 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. 12 13 Service manifest for HAL. 14--> 15 16<service_bundle type='manifest' name='SUNWhalr:hal'> 17 18<service 19 name='system/hal' 20 type='service' 21 version='1'> 22 23 <create_default_instance enabled='false' /> 24 25 <single_instance /> 26 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> 33 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> 41 42 <dependency name='dbus' 43 type='service' 44 grouping='require_all' 45 restart_on='none'> 46 <service_fmri value='svc:/system/dbus' /> 47 </dependency> 48 49 <dependency name='sysevent' 50 type='service' 51 grouping='require_all' 52 restart_on='none'> 53 <service_fmri value='svc:/system/sysevent' /> 54 </dependency> 55 56 <dependency name='keymap' 57 type='service' 58 grouping='optional_all' 59 restart_on='none'> 60 <service_fmri value='svc:/system/keymap' /> 61 </dependency> 62 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> 72 73 <exec_method 74 type='method' 75 name='stop' 76 exec=':kill' 77 timeout_seconds='30' /> 78 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> 84 85 <stability value='Unstable' /> 86 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='8' manpath='/usr/man' /> 95 </documentation> 96 </template> 97 98</service> 99 100</service_bundle> 101