autofs.xml revision 7c478bd95313f5f23a4c958a745db2134aa03244
563N/A<?xml version="1.0"?>
563N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
563N/A<!--
563N/A Copyright 2005 Sun Microsystems, Inc. All rights reserved.
563N/A Use is subject to license terms.
563N/A
563N/A CDDL HEADER START
563N/A
563N/A The contents of this file are subject to the terms of the
563N/A Common Development and Distribution License, Version 1.0 only
563N/A (the "License"). You may not use this file except in compliance
563N/A with the License.
563N/A
563N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
563N/A or http://www.opensolaris.org/os/licensing.
563N/A See the License for the specific language governing permissions
563N/A and limitations under the License.
563N/A
873N/A When distributing Covered Code, include this CDDL HEADER in each
563N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
563N/A If applicable, add the following below this CDDL HEADER, with the
563N/A fields enclosed by brackets "[]" replaced with your own identifying
563N/A information: Portions Copyright [yyyy] [name of copyright owner]
563N/A
4972N/A CDDL HEADER END
6238N/A
563N/A ident "%Z%%M% %I% %E% SMI"
563N/A
563N/A NOTE: This service manifest is not editable; its contents will
563N/A be overwritten by package or patch operations, including
563N/A operating system upgrade. Make customizations in a different
563N/A file.
563N/A
662N/A Note: if this service is modified to consist of anything other
662N/A than a single instance named 'default', you must make changes to
1473N/A $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
1473N/A-->
563N/A
1405N/A<service_bundle type='manifest' name='SUNWatfsr:autofs'>
563N/A
563N/A<service
563N/A name='system/filesystem/autofs'
662N/A type='service'
1042N/A version='1'>
662N/A
1042N/A <create_default_instance enabled='false' />
2086N/A
2086N/A <single_instance />
563N/A
563N/A <dependency
1701N/A name='fs'
563N/A type='service'
563N/A grouping='require_all'
563N/A restart_on='none'>
563N/A <service_fmri value='svc:/system/filesystem/local' />
563N/A </dependency>
563N/A
563N/A <dependency
563N/A name='name-service-milestone'
563N/A type='service'
563N/A grouping='require_all'
1405N/A restart_on='restart'>
1405N/A <service_fmri value='svc:/milestone/name-services' />
563N/A </dependency>
563N/A
2086N/A <dependency
563N/A name='nfs'
1473N/A type='service'
1473N/A grouping='optional_all'
563N/A restart_on='none'>
563N/A <service_fmri value='svc:/network/nfs/client' />
1126N/A </dependency>
563N/A
1126N/A <dependency
563N/A name='rpcbind'
1126N/A type='service'
563N/A grouping='require_all'
563N/A restart_on='restart'>
563N/A <service_fmri value='svc:/network/rpc/bind' />
563N/A </dependency>
563N/A
563N/A <dependent
563N/A name='autofs_multi-user'
563N/A grouping='optional_all'
563N/A restart_on='none'>
563N/A <service_fmri value='svc:/milestone/multi-user' />
563N/A </dependent>
563N/A
563N/A <exec_method
563N/A type='method'
563N/A name='start'
563N/A exec='/lib/svc/method/svc-autofs %m'
563N/A timeout_seconds='60'>
563N/A </exec_method>
662N/A
2741N/A <exec_method
2086N/A type='method'
662N/A name='stop'
662N/A exec='/lib/svc/method/svc-autofs %m %{restarter/contract}'
1473N/A timeout_seconds='60'>
1473N/A </exec_method>
662N/A
662N/A <property_group name='general' type='framework'>
662N/A <!-- to start stop autofs daemon -->
662N/A <propval name='action_authorization' type='astring'
662N/A value='solaris.smf.manage.autofs' />
662N/A </property_group>
662N/A
662N/A
662N/A <property_group name='application' type='framework'>
662N/A <stability value='Evolving' />
662N/A <propval name='auto_enable' type='boolean' value='true' />
662N/A </property_group>
2741N/A
2741N/A <stability value='Stable' />
2741N/A
2741N/A <template>
563N/A <common_name>
563N/A <loctext xml:lang='C'>
563N/A automounter
563N/A </loctext>
563N/A </common_name>
563N/A <documentation>
2086N/A <manpage title='automount' section='1M'
563N/A manpath='/usr/share/man' />
563N/A </documentation>
563N/A </template>
2086N/A</service>
563N/A
563N/A</service_bundle>
563N/A