components/samba/samba/Solaris/swat.xml
changeset 264 84a67a54e8fd
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	"@(#)swat.xml	1.4	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 manifest for the swat service
       
    37 	swat is the samba web administration tool
       
    38 -->
       
    39 <service_bundle type='manifest' name='SUNWsmbau:swat'>
       
    40 <service name='network/swat' type='service' version='1'>
       
    41 	<create_default_instance enabled='false' />
       
    42 	<restarter>
       
    43 		<service_fmri value='svc:/network/inetd:default' />
       
    44 	</restarter>
       
    45 	<exec_method type='method' name='inetd_start'
       
    46 		exec='/usr/sbin/swat' timeout_seconds='0'>
       
    47 		<method_context>
       
    48 			<method_credential user='root' group='root' />
       
    49 		</method_context>
       
    50 	</exec_method>
       
    51 	<exec_method type='method' name='inetd_disable'
       
    52 		exec=':kill' timeout_seconds='0'>
       
    53 	</exec_method>
       
    54 	<property_group name='inetd' type='framework'>
       
    55 		<stability value='Evolving' />
       
    56 		<propval name='name' type='astring' value='swat' />
       
    57 		<propval name='endpoint_type' type='astring' value='stream' />
       
    58 		<propval name='proto' type='astring' value='tcp' />
       
    59 		<propval name='wait' type='boolean' value='false' />
       
    60 		<propval name='isrpc' type='boolean' value='false' />
       
    61 	</property_group>
       
    62 
       
    63 	<stability value='Unstable' />
       
    64 
       
    65 	<template>
       
    66 		<common_name>
       
    67 			<loctext xml:lang='C'> swat </loctext>
       
    68 		</common_name>
       
    69 		<description>
       
    70 			<loctext xml:lang='C'>
       
    71 Swat support a browser interface to configure samba generating the /etc/samba/smb.conf .
       
    72 			</loctext>
       
    73 		</description>
       
    74 		<documentation>
       
    75 			<manpage title='samba' section='5'
       
    76 				manpath='/usr/share/man' />
       
    77 			<manpage title='smb.conf' section='4'
       
    78 			    manpath='/usr/share/man' />
       
    79 		</documentation>
       
    80 	</template>
       
    81 </service>
       
    82 
       
    83 </service_bundle>