components/samba/samba/Solaris/wins.xml
changeset 878 f5bfc829326f
parent 264 84a67a54e8fd
child 1376 4d3c056d2447
equal deleted inserted replaced
877:b1a9a2c48018 878:f5bfc829326f
    21 # CDDL HEADER END
    21 # CDDL HEADER END
    22 #
    22 #
    23 -->
    23 -->
    24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    25 <!--
    25 <!--
    26 	Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
    26 	Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
    27 
    27 
    28 	#ident	"@(#)wins.xml	1.2	10/07/26 SMI"
    28 	#ident	"@(#)wins.xml	1.2	10/07/26 SMI"
    29 
    29 
    30 	NOTE:  This service manifest is not editable; its contents will
    30 	NOTE:  This service manifest is not editable; its contents will
    31 	be overwritten by package or patch operations, including
    31 	be overwritten by package or patch operations, including
    65 			restart_on='none'>
    65 			restart_on='none'>
    66 		<service_fmri value='svc:/milestone/multi-user-server' />
    66 		<service_fmri value='svc:/milestone/multi-user-server' />
    67 	</dependent>
    67 	</dependent>
    68 
    68 
    69 	<exec_method type='method' name='start'
    69 	<exec_method type='method' name='start'
    70 		exec='/usr/sbin/nmbd -D'
    70 		exec='/lib/svc/method/samba start /usr/sbin/nmbd -D'
    71 		timeout_seconds='60' />
    71 		timeout_seconds='60' />
    72 
    72 
    73 	<exec_method type='method' name='stop'
    73 	<exec_method type='method' name='stop'
    74 		exec='/usr/bin/kill `cat /var/samba/locks/nmbd.pid`'
    74 		exec='/lib/svc/method/samba stop %{restarter/contract}'
    75 		timeout_seconds='60' />
    75 		timeout_seconds='60' />
    76 
    76 
    77 	<stability value='Unstable' />
    77 	<stability value='Unstable' />
    78 
    78 
    79 	<template>
    79 	<template>