xref: /illumos-gate/usr/src/cmd/fs.d/autofs/autofs.xml (revision bbf21555)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    CDDL HEADER START
57c478bd9Sstevel@tonic-gate
6dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    The contents of this file are subject to the terms of the
7dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    Common Development and Distribution License (the "License").
8dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    You may not use this file except in compliance with the License.
97c478bd9Sstevel@tonic-gate
10dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    or http://www.opensolaris.org/os/licensing.
12dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    See the License for the specific language governing permissions
13dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    and limitations under the License.
147c478bd9Sstevel@tonic-gate
15dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    When distributing Covered Code, include this CDDL HEADER in each
16dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    If applicable, add the following below this CDDL HEADER, with the
18dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    fields enclosed by brackets "[]" replaced with your own identifying
19dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    information: Portions Copyright [yyyy] [name of copyright owner]
207c478bd9Sstevel@tonic-gate
21dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    CDDL HEADER END
227c478bd9Sstevel@tonic-gate
23dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gate    NOTE:  This service manifest is not editable; its contents will
267c478bd9Sstevel@tonic-gate    be overwritten by package or patch operations, including
277c478bd9Sstevel@tonic-gate    operating system upgrade.  Make customizations in a different
287c478bd9Sstevel@tonic-gate    file.
297c478bd9Sstevel@tonic-gate
307c478bd9Sstevel@tonic-gate    Note: if this service is modified to consist of anything other
317c478bd9Sstevel@tonic-gate    than a single instance named 'default', you must make changes to
327c478bd9Sstevel@tonic-gate    $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
337c478bd9Sstevel@tonic-gate-->
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWatfsr:autofs'>
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate<service
387c478bd9Sstevel@tonic-gate	name='system/filesystem/autofs'
397c478bd9Sstevel@tonic-gate	type='service'
407c478bd9Sstevel@tonic-gate	version='1'>
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<dependency
437c478bd9Sstevel@tonic-gate		name='fs'
447c478bd9Sstevel@tonic-gate		type='service'
457c478bd9Sstevel@tonic-gate		grouping='require_all'
467c478bd9Sstevel@tonic-gate		restart_on='none'>
477c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/local' />
487c478bd9Sstevel@tonic-gate	</dependency>
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate	<dependency
517c478bd9Sstevel@tonic-gate		name='name-service-milestone'
527c478bd9Sstevel@tonic-gate		type='service'
537c478bd9Sstevel@tonic-gate		grouping='require_all'
547c478bd9Sstevel@tonic-gate		restart_on='restart'>
557c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/name-services' />
567c478bd9Sstevel@tonic-gate	</dependency>
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate	<dependency
597c478bd9Sstevel@tonic-gate		name='nfs'
607c478bd9Sstevel@tonic-gate		type='service'
617c478bd9Sstevel@tonic-gate		grouping='optional_all'
627c478bd9Sstevel@tonic-gate		restart_on='none'>
637c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/nfs/client' />
647c478bd9Sstevel@tonic-gate	</dependency>
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate	<dependency
677c478bd9Sstevel@tonic-gate		name='rpcbind'
687c478bd9Sstevel@tonic-gate		type='service'
697c478bd9Sstevel@tonic-gate		grouping='require_all'
707c478bd9Sstevel@tonic-gate		restart_on='restart'>
717c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/bind' />
727c478bd9Sstevel@tonic-gate	</dependency>
737c478bd9Sstevel@tonic-gate
747c478bd9Sstevel@tonic-gate	<dependent
757c478bd9Sstevel@tonic-gate		name='autofs_multi-user'
767c478bd9Sstevel@tonic-gate		grouping='optional_all'
777c478bd9Sstevel@tonic-gate		restart_on='none'>
787c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/multi-user' />
797c478bd9Sstevel@tonic-gate	</dependent>
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate	<exec_method
827c478bd9Sstevel@tonic-gate		type='method'
837c478bd9Sstevel@tonic-gate		name='start'
847c478bd9Sstevel@tonic-gate		exec='/lib/svc/method/svc-autofs %m'
857c478bd9Sstevel@tonic-gate		timeout_seconds='60'>
867c478bd9Sstevel@tonic-gate	</exec_method>
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate	<exec_method
897c478bd9Sstevel@tonic-gate		type='method'
907c478bd9Sstevel@tonic-gate		name='stop'
917c478bd9Sstevel@tonic-gate		exec='/lib/svc/method/svc-autofs %m %{restarter/contract}'
927c478bd9Sstevel@tonic-gate		timeout_seconds='60'>
937c478bd9Sstevel@tonic-gate	</exec_method>
947c478bd9Sstevel@tonic-gate
957c478bd9Sstevel@tonic-gate	<property_group name='general' type='framework'>
967c478bd9Sstevel@tonic-gate		<!-- to start stop autofs daemon -->
977c478bd9Sstevel@tonic-gate		<propval name='action_authorization' type='astring'
987c478bd9Sstevel@tonic-gate			value='solaris.smf.manage.autofs' />
997c478bd9Sstevel@tonic-gate	</property_group>
1007c478bd9Sstevel@tonic-gate
1017c478bd9Sstevel@tonic-gate
1027c478bd9Sstevel@tonic-gate	<property_group name='application' type='framework'>
1037c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
1047c478bd9Sstevel@tonic-gate		<propval name='auto_enable' type='boolean' value='true' />
1057c478bd9Sstevel@tonic-gate	</property_group>
1067c478bd9Sstevel@tonic-gate
107dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	<instance name='default' enabled='false'>
108dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	  <property_group name='autofs-props' type='com.oracle.autofs,props'>
109dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='timeout' type='integer' value='600'/>
110dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='automount_verbose' type='boolean' value='false'/>
111dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='trace' type='integer' value='0'/>
112dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='nobrowse' type='boolean' value='false'/>
113dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='automountd_verbose' type='boolean' value='false'/>
114dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	    <propval name='environment' type='astring' value=''/>
115dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	  </property_group>
116dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States	</instance>
117dd51520eSPavan Mettu - Oracle Corporation - Menlo Park United States
1187c478bd9Sstevel@tonic-gate	<stability value='Stable' />
1197c478bd9Sstevel@tonic-gate
1207c478bd9Sstevel@tonic-gate	<template>
1217c478bd9Sstevel@tonic-gate		<common_name>
1227c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1237c478bd9Sstevel@tonic-gate			automounter
1247c478bd9Sstevel@tonic-gate			</loctext>
1257c478bd9Sstevel@tonic-gate		</common_name>
1267c478bd9Sstevel@tonic-gate		<documentation>
127*bbf21555SRichard Lowe			<manpage title='automount' section='8'
1287c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1297c478bd9Sstevel@tonic-gate		</documentation>
1307c478bd9Sstevel@tonic-gate	</template>
1317c478bd9Sstevel@tonic-gate</service>
1327c478bd9Sstevel@tonic-gate
1337c478bd9Sstevel@tonic-gate</service_bundle>
134