xref: /titanic_50/usr/src/cmd/fs.d/smbclnt/svc/client.xml (revision b3700b074e637f8c6991b70754c88a2cfffb246b)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
5
6 CDDL HEADER START
7
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
11
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
16
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
22
23 CDDL HEADER END
24
25	NOTE:  This service manifest is not editable; its contents will
26	be overwritten by package or patch operations, including
27	operating system upgrade.  Make customizations in a different
28	file.
29-->
30
31<service_bundle type='manifest' name='SUNWsmbfsr:smb-client'>
32
33<service
34	name='network/smb/client'
35	type='service'
36	version='1'>
37
38	<create_default_instance enabled='false' />
39
40	<single_instance />
41
42	<dependency name='network'
43	    grouping='require_any'
44	    restart_on='error'
45	    type='service'>
46		<service_fmri value='svc:/milestone/network' />
47	</dependency>
48
49	<dependency name='gss'
50	    grouping='optional_all'
51	    restart_on='none'
52	    type='service'>
53		<service_fmri value='svc:/network/rpc/gss' />
54	</dependency>
55
56	<dependency name='name-services'
57	    grouping='require_all'
58	    restart_on='refresh'
59	    type='service'>
60		<service_fmri value='svc:/milestone/name-services' />
61	</dependency>
62
63	<dependency name='idmap'
64	    grouping='require_all'
65	    restart_on='none'
66	    type='service'>
67		<service_fmri value='svc:/system/idmap:default'/>
68	</dependency>
69
70	<dependent
71		name='smb-client_multi-user'
72		grouping='optional_all'
73		restart_on='none'>
74		<service_fmri value='svc:/milestone/multi-user' />
75	</dependent>
76
77	<exec_method
78		type='method'
79		name='start'
80		exec='/lib/svc/method/smb-client %m'
81		timeout_seconds='60' />
82
83	<exec_method
84		type='method'
85		name='stop'
86		exec='/lib/svc/method/smb-client %m %{restarter/contract}'
87		timeout_seconds='60' />
88
89	<property_group name='general' type='framework'>
90		<!-- To Start/Stop/Refresh the service -->
91		<propval name='action_authorization' type='astring'
92			value='solaris.smf.manage.smbfs' />
93	</property_group>
94
95	<property_group name='application' type='framework'>
96		<stability value='Evolving' />
97		<propval name='auto_enable' type='boolean' value='true' />
98	</property_group>
99
100	<stability value='Unstable' />
101
102	<template>
103		<common_name>
104			<loctext xml:lang='C'>
105			SMB client
106			</loctext>
107		</common_name>
108		<documentation>
109			<manpage title='mount_smbfs' section='1M'
110				manpath='/usr/share/man' />
111		</documentation>
112	</template>
113</service>
114
115</service_bundle>
116