dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / fs.d / smbclnt / svc / client.xml
blobf8b601ca62cb5d80174eb260fa358bee36a2f875
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.
6  CDDL HEADER START
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.
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.
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]
23  CDDL HEADER END
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 -->
31 <service_bundle type='manifest' name='SUNWsmbfsr:smb-client'>
33 <service
34         name='network/smb/client'
35         type='service'
36         version='1'>
38         <create_default_instance enabled='false' />
40         <single_instance />
42         <dependency name='network'
43             grouping='require_any'
44             restart_on='error'
45             type='service'>
46                 <service_fmri value='svc:/milestone/network' />
47         </dependency>
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>
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>
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>
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>
77         <exec_method
78                 type='method'
79                 name='start'
80                 exec='/lib/svc/method/smb-client %m'
81                 timeout_seconds='60' />
83         <exec_method
84                 type='method'
85                 name='stop'
86                 exec='/lib/svc/method/smb-client %m %{restarter/contract}'
87                 timeout_seconds='60' />
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>
95         <property_group name='application' type='framework'>
96                 <stability value='Evolving' />
97                 <propval name='auto_enable' type='boolean' value='true' />
98         </property_group>
100         <stability value='Unstable' />
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>
115 </service_bundle>