2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
24 Copyright 2007 Sun Microsystems, Inc. All rights reserved.
25 Use is subject to license terms.
27 ident "%Z%%M% %I% %E% SMI"
29 NOTE: This service manifest is not editable; its contents will
30 be overwritten by package or patch operations, including
31 operating system upgrade. Make customizations in a different
36 <service_bundle type='manifest' name='SUNWshmr:group'>
39 name='network/shares/group'
43 <create_default_instance enabled='true' />
45 <!-- Must have all local filesystems mounted before we share them -->
46 <dependency name='filesystem-local'
47 grouping='require_all'
50 <service_fmri value='svc:/system/filesystem/local' />
52 <!-- Also want to have some form of networking up -->
53 <dependency name='network'
54 grouping='require_any'
57 <service_fmri value='svc:/milestone/network' />
60 SMB is optional_all so that we don't have to have SMB
61 enabled to work, but if it is, we want to run "after" the
64 <dependency name='smb'
65 grouping='optional_all'
68 <service_fmri value='svc:/network/smb/server' />
72 The start method will cause each share group to be
73 activated. since these are done in parallel and have been
74 pre-checked for sanity, the shareall equivalent should not
75 take overly long, but be prepared.
81 exec='/usr/sbin/sharemgr start %i'
82 timeout_seconds='3600' />
87 exec='/usr/sbin/sharemgr stop %i'
88 timeout_seconds='3600' />
93 exec='/usr/sbin/sharemgr start %i'
94 timeout_seconds='3600' />
99 exec='/usr/sbin/sharemgr start %i'
100 timeout_seconds='3600' />
102 <property_group name='general' type='framework'>
103 <!-- to start/stop service -->
104 <propval name='action_authorization' type='astring'
105 value='solaris.smf.manage.group' />
106 <propval name='value_authorization' type='astring'
107 value='solaris.smf.manage.group' />
109 <property_group name='startd' type='framework'>
110 <propval name='duration' type='astring'
115 <loctext xml:lang='C'>
120 <manpage title='sharemgr' section='1M'
121 manpath='/usr/share/man' />