rust/cargo-c: update to 0.10.9+cargo-0.85.0
[oi-userland.git] / components / sysutils / freeipmi / files / ipmiseld.xml
blob0a0a96984ca8d4708c4e793323191f8b2dd31774
1 <?xml version="1.0"?>
2 <!--
3 CDDL HEADER START
5 The contents of this file are subject to the terms of the
6 Common Development and Distribution License (the "License").
7 You may not use this file except in compliance with the License.
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 or http://www.opensolaris.org/os/licensing.
11 See the License for the specific language governing permissions
12 and limitations under the License.
14 When distributing Covered Code, include this CDDL HEADER in each
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 If applicable, add the following below this CDDL HEADER, with the
17 fields enclosed by brackets "[]" replaced with your own identifying
18 information: Portions Copyright [yyyy] [name of copyright owner]
20 CDDL HEADER END
21 -->
23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
24 <!--
25         Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
26         Use is subject to license terms.
27         Copyright 2016 Jim Klimov
29 #       ident   "@(#)ipmidetectd.xml    1.1     09/08/14 SMI"
30 -->
32 <service_bundle type='manifest' name='SUNWfreeipmir:ipmiseld'>
34         <service name='system/freeipmi/ipmiseld' type='service' version='1'>
36         <!--
37           Configure a default instance for the service since it doesn't
38           require additional configuration intervention before it starts.
39         -->
40                 <create_default_instance enabled='false' />
42         <!--
43           Wait for all local and usr filesystem to be mounted. ipmiseld is
44           located in /usr/sbin.
45         -->
46                 <dependency
47                 name='fs-local'
48                 type='service'
49                 grouping='require_all'
50                 restart_on='none'>
51                         <service_fmri value='svc:/system/filesystem/local' />
52                 </dependency>
53                 
54                 <dependency
55                 name='filesystem-usr'
56                 grouping='require_all'
57                 restart_on='none'
58                 type='service'>
59                         <service_fmri
60                 value='svc:/system/filesystem/usr:default'/>
61                 </dependency>
63         <!--
64           Wait for syslog to be started in order to write system
65           messages from the kernel.
66         -->
67                 <dependency
68                 name='syslog'
69                 grouping='require_all'
70                 restart_on='none'
71                 type='service'>
72                         <service_fmri
73                 value='svc:/system/system-log:default'/>
74                 </dependency>
76         <!--
77           Wait for network to be started in order to reach remote hosts.
78         -->
79                 <dependency
80                 name='network-service'
81                 grouping='require_all'
82                 restart_on='none'
83                 type='service'>
84                         <service_fmri value='svc:/network/service' />
85                 </dependency>
87         <!--
88           The ipmiseld start/stop methods.
89         -->
91                 <exec_method
92                 type='method'
93                 name='start'
94                 exec='/lib/svc/method/svc-ipmiseld %m'
95                 timeout_seconds='60'/>
97                 <exec_method
98                 type='method'
99                 name='stop'
100                 exec=':kill'
101                 timeout_seconds='60' />
103                 <property_group name='startd' type='framework'>
104                 <!--
105                   Sub-process core dumps and external kill signals are not
106                   considered errors, so the service should be restarted.
107                         -->
108                         <propval name='ignore_error' type='astring'
109                          value='core,signal' />
110                 </property_group>
112                 <property_group name='config' type='application' >
113                         <propval name='options' type='astring' value='-c /etc/freeipmi/ipmiseld.conf'/>
114                         <propval name='bmcdev-required' type='boolean' value='false'/>
115                         <propval name='bmcdev' type='astring' value='/dev/ipmi0'/>
116 <!-- Legacy default (with proprietary driver): -->
117 <!--
118                         <propval name='bmcdev' type='astring' value='/dev/bmc'/>
120                 </property_group>
122                 <stability value='Unstable' />
124                 <template>
125                         <common_name>
126                                 <loctext xml:lang='C'>
127                                 IPMI SEL syslog logging daemon
128                                 </loctext>
129                         </common_name>
130                         <documentation>
131                                 <manpage title='ipmiseld' section='8'
132                                 manpath='/usr/share/man' />
133                                 <manpage title='ipmiseld.conf' section='5'
134                                 manpath='/usr/share/man' />
135                         </documentation>
136                 </template>
137         </service>
139 </service_bundle>