components/samba/samba/Solaris/winbind.xml
changeset 264 84a67a54e8fd
child 877 b1a9a2c48018
equal deleted inserted replaced
263:1057446c9ee5 264:84a67a54e8fd
       
     1 <?xml version="1.0"?>
       
     2 <!--
       
     3 #
       
     4 # CDDL HEADER START
       
     5 #
       
     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.
       
     9 #
       
    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.
       
    14 #
       
    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]
       
    20 #
       
    21 # CDDL HEADER END
       
    22 #
       
    23 -->
       
    24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
       
    25 <!--
       
    26 	Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
       
    27 
       
    28 	#ident	"@(#)winbind.xml	1.2	10/07/26 SMI"
       
    29 
       
    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 -->
       
    35 
       
    36 <service_bundle type='manifest' name='SUNWsmbar:winbind'>
       
    37 
       
    38 <service name='network/winbind' type='service' version='1'>
       
    39 
       
    40 	<create_default_instance enabled='false' />
       
    41 
       
    42 	<single_instance/>
       
    43 
       
    44 	<dependency name='net-loopback' grouping='require_any'
       
    45 			restart_on='none' type='service'>
       
    46 		<service_fmri value='svc:/network/loopback' />
       
    47 	</dependency>
       
    48 
       
    49 	<dependency name='net-service' grouping='require_all'
       
    50 			restart_on='none' type='service'>
       
    51 		<service_fmri value='svc:/network/service'/>
       
    52 	</dependency>
       
    53 
       
    54 	<dependency name='net-physical' grouping='require_all'
       
    55 			restart_on='none' type='service'>
       
    56 		<service_fmri value='svc:/network/physical' />
       
    57 	</dependency>
       
    58 
       
    59 	<dependency name='filesystem-local' grouping='require_all'
       
    60 			restart_on='none' type='service'>
       
    61 		<service_fmri value='svc:/system/filesystem/local' />
       
    62 	</dependency>
       
    63 
       
    64 	<dependent name='winbind_multi-user-server' grouping='optional_all'
       
    65 			restart_on='none'>
       
    66 		<service_fmri value='svc:/milestone/multi-user-server' />
       
    67 	</dependent>
       
    68 
       
    69 	<exec_method type='method' name='start'
       
    70 		exec='/usr/sbin/winbindd'
       
    71 		timeout_seconds='60' />
       
    72 
       
    73 	<exec_method type='method' name='stop'
       
    74 		exec='/usr/bin/kill `/usr/bin/cat /var/samba/locks/winbindd.pid`'
       
    75 		timeout_seconds='60' />
       
    76 
       
    77 	<stability value='Unstable' />
       
    78 
       
    79 	<template>
       
    80 		<common_name>
       
    81 			<loctext xml:lang='C'>
       
    82 			MS Win. domain naming daemon
       
    83 			</loctext>
       
    84 		</common_name>
       
    85 		<documentation>
       
    86 			<manpage title='winbindd' section='1m'
       
    87 			    manpath='/usr/share/man' />
       
    88 			<manpage title='smb.conf' section='4'
       
    89 			    manpath='/usr/share/man' />
       
    90 		</documentation>
       
    91 	</template>
       
    92 </service>
       
    93 
       
    94 </service_bundle>