system-log.xml revision 7c478bd95313f5f23a4c958a745db2134aa03244
2N/A<?xml version="1.0"?>
2N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2N/A<!--
2N/A Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2N/A Use is subject to license terms.
2N/A
2N/A CDDL HEADER START
2N/A
2N/A The contents of this file are subject to the terms of the
2N/A Common Development and Distribution License, Version 1.0 only
2N/A (the "License"). You may not use this file except in compliance
2N/A with the License.
2N/A
2N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A or http://www.opensolaris.org/os/licensing.
2N/A See the License for the specific language governing permissions
2N/A and limitations under the License.
2N/A
2N/A When distributing Covered Code, include this CDDL HEADER in each
2N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A If applicable, add the following below this CDDL HEADER, with the
2N/A fields enclosed by brackets "[]" replaced with your own identifying
2N/A information: Portions Copyright [yyyy] [name of copyright owner]
2N/A
2N/A CDDL HEADER END
2N/A
2N/A ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A NOTE: This service manifest is not editable; its contents will
2N/A be overwritten by package or patch operations, including
2N/A operating system upgrade. Make customizations in a different
2N/A file.
2N/A-->
2N/A
2N/A<service_bundle type='manifest' name='SUNWcsr:syslog'>
2N/A
2N/A<service
2N/A name='system/system-log'
2N/A type='service'
2N/A version='1'>
2N/A
2N/A <create_default_instance enabled='false' />
2N/A
2N/A <single_instance/>
2N/A
2N/A <dependency
2N/A name='milestone'
2N/A grouping='require_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/sysconfig' />
2N/A </dependency>
2N/A
2N/A <!--
2N/A syslogd(1M) can log to non-root local directories.
2N/A -->
2N/A <dependency
2N/A name='filesystem'
2N/A grouping='require_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/system/filesystem/local' />
2N/A </dependency>
2N/A
2N/A <!--
2N/A syslogd(1M) can log to automounted files.
2N/A -->
2N/A <dependency
2N/A name='autofs'
2N/A grouping='optional_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/system/filesystem/autofs' />
2N/A </dependency>
2N/A
2N/A <!--
2N/A syslogd(1M) needs nameservice resolution to log to remote hosts.
2N/A -->
2N/A <dependency
2N/A name='name-services'
2N/A grouping='require_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/name-services' />
2N/A </dependency>
2N/A
2N/A <dependent
2N/A name='system-log_single-user'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/milestone/multi-user' />
2N/A </dependent>
2N/A
2N/A <!--
2N/A The system-log start method includes a "savecore -m".
2N/A Use an appropriately long timeout value.
2N/A -->
2N/A <exec_method
2N/A type='method'
2N/A name='start'
2N/A exec='/lib/svc/method/system-log'
2N/A timeout_seconds='600' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='stop'
2N/A exec=':kill'
2N/A timeout_seconds='60' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='refresh'
2N/A exec=':kill -HUP'
2N/A timeout_seconds='60' />
2N/A
2N/A <property_group name='general' type='framework'>
2N/A <!-- to start stop syslog daemon -->
2N/A <propval name='action_authorization' type='astring'
2N/A value='solaris.smf.manage.system-log' />
2N/A </property_group>
2N/A
2N/A <stability value='Unstable' />
2N/A
2N/A <template>
2N/A <common_name>
2N/A <loctext xml:lang='C'> system log
2N/A </loctext>
2N/A </common_name>
2N/A <documentation>
2N/A <manpage title='syslogd' section='1M'
2N/A manpath='/usr/share/man' />
2N/A </documentation>
2N/A </template>
2N/A</service>
2N/A
2N/A</service_bundle>
2N/A