xref: /titanic_52/usr/src/cmd/rexd/rex.xml (revision 7ddce99911fbb5e44b38ac65e991a22e42267ee9)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3
4<!--
5 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
6 Use is subject to license terms.
7
8 Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
9
10 CDDL HEADER START
11
12 The contents of this file are subject to the terms of the
13 Common Development and Distribution License (the "License").
14 You may not use this file except in compliance with the License.
15
16 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
17 or http://www.opensolaris.org/os/licensing.
18 See the License for the specific language governing permissions
19 and limitations under the License.
20
21 When distributing Covered Code, include this CDDL HEADER in each
22 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23 If applicable, add the following below this CDDL HEADER, with the
24 fields enclosed by brackets "[]" replaced with your own identifying
25 information: Portions Copyright [yyyy] [name of copyright owner]
26
27 CDDL HEADER END
28
29	NOTE:  This service manifest is not editable; its contents will
30	be overwritten by package or patch operations, including
31	operating system upgrade.  Make customizations in a different
32	file.
33
34	Service manifest for rpc.rexd
35-->
36
37<service_bundle type='manifest' name='SUNWnisr:rexd'>
38
39<service
40	name='network/rpc/rex'
41	type='service'
42	version='1'>
43
44	<create_default_instance enabled='false' />
45
46	<restarter>
47		<service_fmri value='svc:/network/inetd:default' />
48	</restarter>
49
50	<dependency name='rpcbind'
51	    grouping='require_all'
52	    restart_on='restart'
53	    type='service'>
54		<service_fmri value='svc:/network/rpc/bind' />
55	</dependency>
56
57	<exec_method
58		type='method'
59		name='inetd_start'
60		exec='/usr/sbin/rpc.rexd'
61		timeout_seconds='0'>
62		<method_context>
63			<method_credential user='root' group='root' />
64		</method_context>
65	</exec_method>
66
67	<exec_method
68		type='method'
69		name='inetd_offline'
70		exec=':kill_process'
71		timeout_seconds='0'>
72	</exec_method>
73
74	<exec_method
75		type='method'
76		name='inetd_disable'
77		exec=':kill'
78		timeout_seconds='0'>
79	</exec_method>
80
81	<property_group name='inetd' type='framework'>
82		<stability value='Evolving' />
83		<propval name='name' type='astring' value='rexd' />
84		<propval name='endpoint_type' type='astring' value='tli' />
85		<propval name='proto' type='astring' value='tcp' />
86		<propval name='isrpc' type='boolean' value='true' />
87		<propval name='rpc_low_version' type='integer' value='1' />
88		<propval name='rpc_high_version' type='integer' value='1' />
89		<propval name='wait' type='boolean' value='true' />
90	</property_group>
91
92	<property_group name='firewall_config' type='com.sun,fw_configuration'>
93		<propval name='policy' type='astring' value='use_global' />
94		<propval name='block_policy' type='astring'
95			value='use_global' />
96		<propval name='apply_to' type='astring' value='' />
97		<propval name='apply_to_6' type='astring' value='' />
98		<propval name='exceptions' type='astring' value='' />
99		<propval name='exceptions_6' type='astring' value='' />
100		<propval name='target' type='astring' value='' />
101		<propval name='target_6' type='astring' value='' />
102		<propval name='value_authorization' type='astring'
103			value='solaris.smf.value.firewall.config' />
104	</property_group>
105
106	<stability value='Unstable' />
107
108	<template>
109		<common_name>
110			<loctext xml:lang='C'>
111				remote execution server
112			</loctext>
113		</common_name>
114		<documentation>
115			<manpage title='rpc.rexd' section='1M'
116			    manpath='/usr/share/man' />
117			<manpage title='rexd' section='1M'
118			    manpath='/usr/share/man' />
119		</documentation>
120	</template>
121
122</service>
123
124</service_bundle>
125