xref: /titanic_44/usr/src/cmd/cmd-inet/usr.sbin/comsat.xml (revision 940c61f284366ef6845abe1c4002504280d7f0f2)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
7*940c61f2SHans Rosenfeld Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org
8*940c61f2SHans Rosenfeld
97c478bd9Sstevel@tonic-gate CDDL HEADER START
107c478bd9Sstevel@tonic-gate
117c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
12eb1a3463STruong Nguyen Common Development and Distribution License (the "License").
13eb1a3463STruong Nguyen You may not use this file except in compliance with the License.
147c478bd9Sstevel@tonic-gate
157c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
167c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
177c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
187c478bd9Sstevel@tonic-gate and limitations under the License.
197c478bd9Sstevel@tonic-gate
207c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
217c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
227c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
237c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
247c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate CDDL HEADER END
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
297c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
307c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
317c478bd9Sstevel@tonic-gate	file.
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate	Service manifest for the in.comsat service.
347c478bd9Sstevel@tonic-gate-->
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWrcmdr:comsat'>
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate<service
397c478bd9Sstevel@tonic-gate	name='network/comsat'
407c478bd9Sstevel@tonic-gate	type='service'
417c478bd9Sstevel@tonic-gate	version='1'>
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate	<create_default_instance enabled='false' />
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate	<restarter>
467c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
477c478bd9Sstevel@tonic-gate	</restarter>
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate	<exec_method
507c478bd9Sstevel@tonic-gate		type='method'
517c478bd9Sstevel@tonic-gate		name='inetd_start'
527c478bd9Sstevel@tonic-gate		exec='/usr/sbin/in.comsat'
537c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
547c478bd9Sstevel@tonic-gate		<method_context>
557c478bd9Sstevel@tonic-gate			<method_credential user='root' group='root' />
567c478bd9Sstevel@tonic-gate		</method_context>
577c478bd9Sstevel@tonic-gate	</exec_method>
587c478bd9Sstevel@tonic-gate
597c478bd9Sstevel@tonic-gate	<exec_method
607c478bd9Sstevel@tonic-gate		type='method'
617c478bd9Sstevel@tonic-gate		name='inetd_offline'
627c478bd9Sstevel@tonic-gate		exec=':kill_process'
637c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
647c478bd9Sstevel@tonic-gate	</exec_method>
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate	<exec_method
677c478bd9Sstevel@tonic-gate		type='method'
687c478bd9Sstevel@tonic-gate		name='inetd_disable'
697c478bd9Sstevel@tonic-gate		exec=':kill'
707c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
717c478bd9Sstevel@tonic-gate	</exec_method>
727c478bd9Sstevel@tonic-gate
737c478bd9Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
747c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
757c478bd9Sstevel@tonic-gate		<propval name='name' type='astring' value='comsat' />
767c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='dgram' />
777c478bd9Sstevel@tonic-gate		<propval name='proto' type='astring' value='udp' />
787c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='true' />
797c478bd9Sstevel@tonic-gate		<propval name='isrpc' type='boolean' value='false' />
807c478bd9Sstevel@tonic-gate	</property_group>
817c478bd9Sstevel@tonic-gate
82eb1a3463STruong Nguyen	<property_group name='firewall_config' type='com.sun,fw_configuration'>
83eb1a3463STruong Nguyen		<propval name='policy' type='astring' value='use_global' />
84*940c61f2SHans Rosenfeld		<propval name='block_policy' type='astring'
85*940c61f2SHans Rosenfeld			value='use_global' />
86eb1a3463STruong Nguyen		<propval name='apply_to' type='astring' value='' />
87eb1a3463STruong Nguyen		<propval name='exceptions' type='astring' value='' />
88*940c61f2SHans Rosenfeld		<propval name='target' type='astring' value='' />
89eb1a3463STruong Nguyen		<propval name='value_authorization' type='astring'
90eb1a3463STruong Nguyen			value='solaris.smf.value.firewall.config' />
91eb1a3463STruong Nguyen	</property_group>
92eb1a3463STruong Nguyen
937c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
947c478bd9Sstevel@tonic-gate
957c478bd9Sstevel@tonic-gate	<template>
967c478bd9Sstevel@tonic-gate		<common_name>
977c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>comsat</loctext>
987c478bd9Sstevel@tonic-gate		</common_name>
997c478bd9Sstevel@tonic-gate		<description>
1007c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1017c478bd9Sstevel@tonic-gatecomsat listens for reports of incoming mail and notifies users who have
1027c478bd9Sstevel@tonic-gaterequested to be told when mail arrives.
1037c478bd9Sstevel@tonic-gate			</loctext>
1047c478bd9Sstevel@tonic-gate		</description>
1057c478bd9Sstevel@tonic-gate		<documentation>
1067c478bd9Sstevel@tonic-gate			<manpage title='in.comsat' section='1M'
1077c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1087c478bd9Sstevel@tonic-gate			<manpage title='comsat' section='1M'
1097c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1107c478bd9Sstevel@tonic-gate		</documentation>
1117c478bd9Sstevel@tonic-gate	</template>
1127c478bd9Sstevel@tonic-gate</service>
1137c478bd9Sstevel@tonic-gate
1147c478bd9Sstevel@tonic-gate</service_bundle>
115