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