Home | History | Annotate | Download | only in ipmitool
      1 <?xml version="1.0"?>
      2 <!--
      3 CDDL HEADER START
      4 
      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.
      8 
      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.
     13 
     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]
     19 
     20 CDDL HEADER END
     21 -->
     22 
     23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
     24 <!--
     25     Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     26     Use is subject to license terms.
     27 
     28     ident	"@(#)ipmievd.xml	1.1	07/01/11 SMI"
     29 -->
     30 
     31 <service_bundle type='manifest' name='SUNWipmi:ipmievd'>
     32 
     33 <service name='network/ipmievd' type='service' version='1'>
     34 
     35 	<!--
     36 	  Configure a default instance for the service since it doesn't
     37 	  require additional configuration intervention before it starts.
     38 	-->
     39 	<create_default_instance enabled='false' />
     40 
     41 	<!--
     42 	  Wait for all usr filesystem to be mounted. ipmievd is
     43 	  located in /usr/lib.
     44 	-->
     45 	<dependency
     46 	    name='filesystem-usr'
     47 	    grouping='require_all'
     48 	    restart_on='none'
     49 	    type='service'>
     50 	    <service_fmri
     51 		value='svc:/system/filesystem/usr:default'/>
     52 	</dependency>
     53 
     54 	<!--
     55 	  Wait for syslog to be started in order to write system
     56 	  messages from the kernel.
     57 	-->
     58 	<dependency
     59 	    name='syslog'
     60 	    grouping='require_all'
     61 	    restart_on='none'
     62 	    type='service'>
     63 	    <service_fmri
     64 		value='svc:/system/system-log:default'/>
     65 	</dependency>
     66 
     67 	<!--
     68 	  The ipmievd start/stop methods.
     69 	-->
     70 
     71 	<exec_method
     72 		type='method'
     73 		name='start'
     74 		exec='/lib/svc/method/svc-ipmievd %m'
     75 		timeout_seconds='60'/>
     76 
     77 	<exec_method
     78 		type='method'
     79 		name='stop'
     80 		exec=':kill'
     81 		timeout_seconds='60' />
     82 
     83 	<property_group name='startd' type='framework'>
     84 		<!--
     85 		  Sub-process core dumps and external kill signals are not
     86 		  considered errors, so the service should be restarted.
     87 	        -->
     88 		<propval name='ignore_error' type='astring'
     89 			 value='core,signal' />
     90 	</property_group>
     91 
     92 	<stability value='Unstable' />
     93 
     94 	<template>
     95 		<common_name>
     96 			<loctext xml:lang='C'>
     97 				IPMI event daemon
     98 			</loctext>
     99 		</common_name>
    100 		<documentation>
    101 			<manpage title='ipmievd' section='8'
    102 				manpath='/usr/share/man' />
    103 			<doc_link name='sourceforge.net'
    104 				uri='http://sourceforge.net/projects/ipmitool' />
    105 		</documentation>
    106 	</template>
    107 </service>
    108 
    109 </service_bundle>
    110