components/samba/samba/Solaris/swat.xml
changeset 4377 b861470645e4
parent 264 84a67a54e8fd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/samba/samba/Solaris/swat.xml	Fri May 29 15:30:36 2015 -0700
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<!--
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+-->
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+	Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
+
+	#ident	"@(#)swat.xml	1.4	10/07/26 SMI"
+
+	NOTE:  This service manifest is not editable; its contents will
+	be overwritten by package or patch operations, including
+	operating system upgrade.  Make customizations in a different
+	file.
+-->
+<!--
+	  Service manifest for the swat service
+	swat is the samba web administration tool
+-->
+<service_bundle type='manifest' name='SUNWsmbau:swat'>
+<service name='network/swat' type='service' version='1'>
+	<create_default_instance enabled='false' />
+	<restarter>
+		<service_fmri value='svc:/network/inetd:default' />
+	</restarter>
+	<exec_method type='method' name='inetd_start'
+		exec='/usr/sbin/swat' timeout_seconds='0'>
+		<method_context>
+			<method_credential user='root' group='root' />
+		</method_context>
+	</exec_method>
+	<exec_method type='method' name='inetd_disable'
+		exec=':kill' timeout_seconds='0'>
+	</exec_method>
+	<property_group name='inetd' type='framework'>
+		<stability value='Evolving' />
+		<propval name='name' type='astring' value='swat' />
+		<propval name='endpoint_type' type='astring' value='stream' />
+		<propval name='proto' type='astring' value='tcp' />
+		<propval name='wait' type='boolean' value='false' />
+		<propval name='isrpc' type='boolean' value='false' />
+	</property_group>
+
+	<stability value='Unstable' />
+
+	<template>
+		<common_name>
+			<loctext xml:lang='C'> swat </loctext>
+		</common_name>
+		<description>
+			<loctext xml:lang='C'>
+Swat support a browser interface to configure samba generating the /etc/samba/smb.conf .
+			</loctext>
+		</description>
+		<documentation>
+			<manpage title='samba' section='5'
+				manpath='/usr/share/man' />
+			<manpage title='smb.conf' section='4'
+			    manpath='/usr/share/man' />
+		</documentation>
+	</template>
+</service>
+
+</service_bundle>