<?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 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Copyright 2016 Jim Klimov # ident "@(#)ipmidetectd.xml 1.1 09/08/14 SMI" --> <service_bundle type='manifest' name='SUNWfreeipmir:ipmiseld'> <service name='system/freeipmi/ipmiseld' 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 local and usr filesystem to be mounted. ipmiseld is located in /usr/sbin. --> <dependency name='fs-local' type='service' grouping='require_all' restart_on='none'> <service_fmri value='svc:/system/filesystem/local' /> </dependency> <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:default'/> </dependency> <!-- Wait for network to be started in order to reach remote hosts. --> <dependency name='network-service' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/network/service' /> </dependency> <!-- The ipmiseld start/stop methods. --> <exec_method type='method' name='start' exec='/lib/svc/method/svc-ipmiseld %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> <property_group name='config' type='application' > <propval name='options' type='astring' value='-c /etc/freeipmi/ipmiseld.conf'/> <propval name='bmcdev-required' type='boolean' value='false'/> <propval name='bmcdev' type='astring' value='/dev/ipmi0'/> <!-- Legacy default (with proprietary driver): --> <!-- <propval name='bmcdev' type='astring' value='/dev/bmc'/> --> </property_group> <stability value='Unstable' /> <template> <common_name> <loctext xml:lang='C'> IPMI SEL syslog logging daemon </loctext> </common_name> <documentation> <manpage title='ipmiseld' section='8' manpath='/usr/share/man' /> <manpage title='ipmiseld.conf' section='5' manpath='/usr/share/man' /> </documentation> </template> </service> </service_bundle>