xref: /titanic_44/usr/src/cmd/smserverd/smserver.xml (revision ab8b4e5c888370036603c72719799620ea5c6b77)
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 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30
31	Service manifest for rpc.smserverd.
32-->
33
34<service_bundle type='manifest' name='SUNWsmediar:smserverd'>
35
36<service
37	name='network/rpc/smserver'
38	type='service'
39	version='1'>
40
41	<create_default_instance enabled='false' />
42
43	<restarter>
44		<service_fmri value='svc:/network/inetd:default' />
45	</restarter>
46
47	<dependency name='rpcbind'
48		grouping='require_all'
49		restart_on='restart'
50		type='service'>
51		<service_fmri value='svc:/network/rpc/bind'/>
52	</dependency>
53
54	<dependent
55		name='smserver_multi-user-server'
56		grouping='optional_all'
57		restart_on='none'>
58		<service_fmri value='svc:/milestone/multi-user-server' />
59	</dependent>
60
61	<exec_method
62		type='method'
63		name='inetd_start'
64		exec='/usr/lib/smedia/rpc.smserverd'
65		timeout_seconds='0'>
66		<method_context>
67			<method_credential user='root' group='root' />
68		</method_context>
69	</exec_method>
70
71	<exec_method
72		type='method'
73		name='inetd_offline'
74		exec=':kill_process'
75		timeout_seconds='0'>
76	</exec_method>
77
78	<exec_method
79		type='method'
80		name='inetd_disable'
81		exec=':kill'
82		timeout_seconds='0'>
83	</exec_method>
84
85	<property_group name='inetd' type='framework'>
86		<stability value='Evolving' />
87		<propval name='name' type='astring' value='100155' />
88		<propval name='endpoint_type' type='astring' value='tli' />
89		<propval name='proto' type='astring' value='circuit_v'
90		    override='true' />
91		<propval name='isrpc' type='boolean' value='true' />
92		<propval name='rpc_low_version' type='integer' value='1' />
93		<propval name='rpc_high_version' type='integer' value='1' />
94		<propval name='wait' type='boolean' value='true' />
95	</property_group>
96
97	<stability value='Unstable' />
98
99	<template>
100		<common_name>
101			<loctext xml:lang='C'>
102				removable media management
103			</loctext>
104		</common_name>
105		<documentation>
106			<manpage title='rpc.smserverd' section='1M'
107			    manpath='/usr/share/man' />
108		</documentation>
109	</template>
110
111</service>
112
113</service_bundle>
114