xref: /illumos-gate/usr/src/cmd/rpcsvc/spray.xml (revision bbf21555)
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.sprayd
35-->
36
37<service_bundle type='manifest' name='SUNWrcmdr:sprayd'>
38
39<service
40	name='network/rpc/spray'
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/lib/netsvc/spray/rpc.sprayd'
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='sprayd' />
84		<propval name='endpoint_type' type='astring' value='tli' />
85		<propval name='proto' type='astring' value='datagram_v'
86		    override='true' />
87		<propval name='isrpc' type='boolean' value='true' />
88		<propval name='rpc_low_version' type='integer' value='1' />
89		<propval name='rpc_high_version' type='integer' value='1' />
90		<propval name='wait' type='boolean' value='true' />
91	</property_group>
92
93	<property_group name='firewall_config' type='com.sun,fw_configuration'>
94		<propval name='policy' type='astring' value='use_global' />
95		<propval name='block_policy' type='astring'
96			value='use_global' />
97		<propval name='apply_to' type='astring' value='' />
98		<propval name='apply_to_6' type='astring' value='' />
99		<propval name='exceptions' type='astring' value='' />
100		<propval name='exceptions_6' type='astring' value='' />
101		<propval name='target' type='astring' value='' />
102		<propval name='target_6' type='astring' value='' />
103		<propval name='value_authorization' type='astring'
104			value='solaris.smf.value.firewall.config' />
105	</property_group>
106
107	<stability value='Unstable' />
108
109	<template>
110		<common_name>
111			<loctext xml:lang='C'>
112				RPC spray
113			</loctext>
114		</common_name>
115		<documentation>
116			<manpage title='rpc.sprayd' section='8'
117			    manpath='/usr/share/man' />
118			<manpage title='sprayd' section='8'
119			    manpath='/usr/share/man' />
120		</documentation>
121	</template>
122
123</service>
124
125</service_bundle>
126