sendmail-client.xml revision 1
1N/A<?xml version="1.0"?>
1N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
1N/A<!--
1N/A CDDL HEADER START
1N/A
1N/A The contents of this file are subject to the terms of the
1N/A Common Development and Distribution License (the "License").
1N/A You may not use this file except in compliance with the License.
1N/A
1N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A or http://www.opensolaris.org/os/licensing.
1N/A See the License for the specific language governing permissions
1N/A and limitations under the License.
1N/A
1N/A When distributing Covered Code, include this CDDL HEADER in each
1N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A If applicable, add the following below this CDDL HEADER, with the
1N/A fields enclosed by brackets "[]" replaced with your own identifying
1N/A information: Portions Copyright [yyyy] [name of copyright owner]
1N/A
1N/A CDDL HEADER END
1N/A
1N/A Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1N/A Use is subject to license terms.
1N/A
1N/A NOTE: This service manifest is not editable; its contents will
1N/A be overwritten by package or patch operations, including
1N/A operating system upgrade. Make customizations in a different
1N/A file.
1N/A-->
1N/A
1N/A<service_bundle type='manifest' name='SUNWsndmr:sendmail'>
1N/A
1N/A<service
1N/A name='network/sendmail-client'
1N/A type='service'
1N/A version='1'>
1N/A
1N/A <single_instance />
1N/A
1N/A <dependency
1N/A name='fs-local'
1N/A grouping='require_all'
1N/A restart_on='none'
1N/A type='service'>
1N/A <service_fmri value='svc:/system/filesystem/local' />
1N/A </dependency>
1N/A
1N/A <dependency
1N/A name='network-service'
1N/A grouping='require_all'
1N/A restart_on='none'
1N/A type='service'>
1N/A <service_fmri value='svc:/network/service' />
1N/A </dependency>
1N/A
1N/A <dependency
1N/A name='name-services'
1N/A grouping='require_all'
1N/A restart_on='refresh'
1N/A type='service'>
1N/A <service_fmri value='svc:/milestone/name-services' />
1N/A </dependency>
1N/A
1N/A <dependency
1N/A name='identity'
1N/A grouping='optional_all'
1N/A restart_on='refresh'
1N/A type='service'>
1N/A <service_fmri value='svc:/system/identity:domain' />
1N/A </dependency>
1N/A
1N/A <dependency
1N/A name='system-log'
1N/A grouping='optional_all'
1N/A restart_on='none'
1N/A type='service'>
1N/A <service_fmri value='svc:/system/system-log' />
1N/A </dependency>
1N/A
1N/A <instance name='default' enabled='true'>
1N/A
1N/A <dependency
1N/A name='config-file'
1N/A grouping='require_all'
1N/A restart_on='refresh'
1N/A type='path'>
1N/A <service_fmri
1N/A value='file://localhost/etc/mail/submit.cf' />
1N/A </dependency>
1N/A
1N/A <!--
1N/A Sendmail is hard-coded to sleep for 60 seconds if it cannot
1N/A determine the FQHN, so the timeout for start must be longer
1N/A than that. For details, see
1N/A http://www.sendmail.org/vendor/sun/differences.html#3.2
1N/A -->
1N/A
1N/A <exec_method
1N/A type='method'
1N/A name='start'
1N/A exec='/lib/svc/method/sendmail-client start'
1N/A timeout_seconds='120' />
1N/A
1N/A <exec_method
1N/A type='method'
1N/A name='stop'
1N/A exec='/lib/svc/method/sendmail-client stop %{restarter/contract}'
1N/A timeout_seconds='60' />
1N/A
1N/A <exec_method
1N/A type='method'
1N/A name='refresh'
1N/A exec='/lib/svc/method/sendmail-client refresh'
1N/A timeout_seconds='60' />
1N/A
1N/A <property_group name='general' type='framework'>
1N/A <propval name='action_authorization' type='astring'
1N/A value='solaris.smf.manage.sendmail' />
1N/A </property_group>
1N/A
1N/A <property_group name='config' type='application'>
1N/A <propval name='value_authorization' type='astring'
1N/A value='solaris.smf.value.sendmail' />
1N/A <propval name='path_to_submit_mc'
1N/A type='astring' value='' />
1N/A </property_group>
1N/A
1N/A <template>
1N/A <common_name>
1N/A <loctext xml:lang='C'>
1N/A sendmail SMTP client queue runner
1N/A </loctext>
1N/A </common_name>
1N/A <documentation>
1N/A <manpage title='sendmail' section='1M'
1N/A manpath='/usr/share/man' />
1N/A </documentation>
1N/A </template>
1N/A
1N/A </instance>
1N/A
1N/A <stability value='Unstable' />
1N/A
1N/A</service>
1N/A
1N/A</service_bundle>