client.xml revision db7e1bb32ac7dcb73f8d2984819483b1ae7a25b9
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 2010 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 (the "License").
2N/A You may not use this file except in compliance 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 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='SUNWsmbfsr:smb-client'>
2N/A
2N/A<service
2N/A name='network/smb/client'
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 name='network'
2N/A grouping='require_any'
2N/A restart_on='error'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/network' />
2N/A </dependency>
2N/A
2N/A <dependency name='gss'
2N/A grouping='optional_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/network/rpc/gss' />
2N/A </dependency>
2N/A
2N/A <dependency name='name-services'
2N/A grouping='require_all'
2N/A restart_on='refresh'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/name-services' />
2N/A </dependency>
2N/A
2N/A <dependency name='idmap'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/idmap:default'/>
</dependency>
<dependent
name='smb-client_multi-user'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/multi-user' />
</dependent>
<!--
Err on the side of caution for the mountalls in the smb-client
startup script. Don't timeout just because remote servers are
being sluggish.
-->
<exec_method
type='method'
name='start'
exec='/lib/svc/method/smb-client %m'
timeout_seconds='300' />
<exec_method
type='method'
name='stop'
exec='/lib/svc/method/smb-client %m'
timeout_seconds='60' />
<property_group name='general' type='framework'>
<!-- To Start/Stop/Refresh the service -->
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.smbfs' />
</property_group>
<property_group
name='startd'
type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
SMB client
</loctext>
</common_name>
<documentation>
<manpage title='mount_smbfs' section='1M'
manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>