p7zip: assorted fixes
[oi-userland.git] / components / network / samba / Solaris / wins.xml
bloba6635a19be6395b9c8bcb3e7eaba8162c141f445
1 <?xml version="1.0"?>
2 <!--
4 # CDDL HEADER START
6 # The contents of this file are subject to the terms of the
7 # Common Development and Distribution License (the "License").
8 # You may not use this file except in compliance with the License.
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or http://www.opensolaris.org/os/licensing.
12 # See the License for the specific language governing permissions
13 # and limitations under the License.
15 # When distributing Covered Code, include this CDDL HEADER in each
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # CDDL HEADER END
23 -->
24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
25 <!--
26         Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
28         #ident  "@(#)wins.xml   1.2     10/07/26 SMI"
30         NOTE:  This service manifest is not editable; its contents will
31         be overwritten by package or patch operations, including
32         operating system upgrade.  Make customizations in a different
33         file.
34 -->
36 <service_bundle type='manifest' name='SUNWsmbar:wins'>
38 <service name='network/wins' type='service' version='1'>
40         <create_default_instance enabled='false' />
42         <single_instance/>
44         <dependency name='network' grouping='require_all'
45                         restart_on='none' type='service'>
46                 <service_fmri value='svc:/milestone/network' />
47         </dependency>
49         <dependency name='net-service' grouping='require_all'
50                         restart_on='none' type='service'>
51                 <service_fmri value='svc:/network/service'/>
52         </dependency>
54         <dependency name='filesystem-local' grouping='require_all'
55                         restart_on='none' type='service'>
56                 <service_fmri value='svc:/system/filesystem/local' />
57         </dependency>
59         <dependent name='wins_multi-user-server' grouping='optional_all'
60                         restart_on='none'>
61                 <service_fmri value='svc:/milestone/multi-user-server' />
62         </dependent>
64         <exec_method type='method' name='start'
65                 exec='/lib/svc/method/samba start /usr/sbin/nmbd -D'
66                 timeout_seconds='60' />
68         <exec_method type='method' name='stop'
69                 exec='/lib/svc/method/samba stop %{restarter/contract}'
70                 timeout_seconds='60' />
72         <stability value='Unstable' />
74         <template>
75                 <common_name>
76                         <loctext xml:lang='C'>
77                         MS Win. domain naming daemon
78                         </loctext>
79                 </common_name>
80                 <documentation>
81                         <manpage title='nmbd' section='1m'
82                             manpath='/usr/share/man' />
83                         <manpage title='smb.conf' section='4'
84                             manpath='/usr/share/man' />
85                 </documentation>
86         </template>
87 </service>
89 </service_bundle>