components/ipmitool/ipmievd.xml
author Rich Burridge <rich.burridge@oracle.com>
Tue, 06 Nov 2012 08:47:35 -0800
branchs11-update
changeset 2418 cd57f22892e0
parent 847 4ae04177ffa1
permissions -rw-r--r--
15837888 clisp needs TPNO and license file modifications

<?xml version="1.0"?>
<!--
CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END
-->

<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
    Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
-->

<service_bundle type='manifest' name='SUNWipmi:ipmievd'>

<service name='network/ipmievd' type='service' version='1'>

	<!--
	  Configure a default instance for the service since it doesn't
	  require additional configuration intervention before it starts.
	-->
	<create_default_instance enabled='false' />

	<!--
	  Wait for all usr filesystem to be mounted. ipmievd is
	  located in /usr/lib.
	-->
	<dependency
	    name='filesystem-usr'
	    grouping='require_all'
	    restart_on='none'
	    type='service'>
	    <service_fmri
		value='svc:/system/filesystem/usr:default'/>
	</dependency>

	<!--
	  Wait for syslog to be started in order to write system
	  messages from the kernel.
	-->
	<dependency
	    name='syslog'
	    grouping='require_all'
	    restart_on='none'
	    type='service'>
	    <service_fmri
		value='svc:/system/system-log'/>
	</dependency>

	<!--
	  The ipmievd start/stop methods.
	-->

	<exec_method
		type='method'
		name='start'
		exec='/lib/svc/method/svc-ipmievd %m'
		timeout_seconds='60'/>

	<exec_method
		type='method'
		name='stop'
		exec=':kill'
		timeout_seconds='60' />

	<property_group name='startd' type='framework'>
		<!--
		  Sub-process core dumps and external kill signals are not
		  considered errors, so the service should be restarted.
	        -->
		<propval name='ignore_error' type='astring'
			 value='core,signal' />
	</property_group>

	<stability value='Unstable' />

	<template>
		<common_name>
			<loctext xml:lang='C'>
				IPMI event daemon
			</loctext>
		</common_name>
		<documentation>
			<manpage title='ipmievd' section='8'
				manpath='/usr/share/man' />
			<doc_link name='sourceforge.net'
				uri='http://sourceforge.net/projects/ipmitool' />
		</documentation>
	</template>
</service>

</service_bundle>