xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/time.xml (revision 0:68f95e015346)
1*0Sstevel@tonic-gate<?xml version='1.0'?>
2*0Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3*0Sstevel@tonic-gate
4*0Sstevel@tonic-gate<!--
5*0Sstevel@tonic-gate Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
6*0Sstevel@tonic-gate Use is subject to license terms.
7*0Sstevel@tonic-gate
8*0Sstevel@tonic-gate CDDL HEADER START
9*0Sstevel@tonic-gate
10*0Sstevel@tonic-gate The contents of this file are subject to the terms of the
11*0Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only
12*0Sstevel@tonic-gate (the "License").  You may not use this file except in compliance
13*0Sstevel@tonic-gate with the License.
14*0Sstevel@tonic-gate
15*0Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16*0Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
17*0Sstevel@tonic-gate See the License for the specific language governing permissions
18*0Sstevel@tonic-gate and limitations under the License.
19*0Sstevel@tonic-gate
20*0Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
21*0Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22*0Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
23*0Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
24*0Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
25*0Sstevel@tonic-gate
26*0Sstevel@tonic-gate CDDL HEADER END
27*0Sstevel@tonic-gate
28*0Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
29*0Sstevel@tonic-gate
30*0Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
31*0Sstevel@tonic-gate	be overwritten by package or patch operations, including
32*0Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
33*0Sstevel@tonic-gate	file.
34*0Sstevel@tonic-gate
35*0Sstevel@tonic-gate	Service manifests for time
36*0Sstevel@tonic-gate-->
37*0Sstevel@tonic-gate
38*0Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcnsr:time'>
39*0Sstevel@tonic-gate
40*0Sstevel@tonic-gate<service
41*0Sstevel@tonic-gate	name='network/time'
42*0Sstevel@tonic-gate	type='service'
43*0Sstevel@tonic-gate	version='1'>
44*0Sstevel@tonic-gate
45*0Sstevel@tonic-gate	<restarter>
46*0Sstevel@tonic-gate	    <service_fmri value='svc:/network/inetd:default' />
47*0Sstevel@tonic-gate	</restarter>
48*0Sstevel@tonic-gate
49*0Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
50*0Sstevel@tonic-gate	    <stability value='Evolving' />
51*0Sstevel@tonic-gate	    <propval name='name' type='astring' value='time' />
52*0Sstevel@tonic-gate	    <propval name='isrpc' type='boolean' value='false' />
53*0Sstevel@tonic-gate	</property_group>
54*0Sstevel@tonic-gate
55*0Sstevel@tonic-gate	<instance name='dgram' enabled='false' >
56*0Sstevel@tonic-gate	    <exec_method
57*0Sstevel@tonic-gate		type='method'
58*0Sstevel@tonic-gate		name='inetd_start'
59*0Sstevel@tonic-gate		exec='/usr/lib/inet/in.timed -d'
60*0Sstevel@tonic-gate		timeout_seconds='0'>
61*0Sstevel@tonic-gate		    <method_context>
62*0Sstevel@tonic-gate			<method_credential user='root' group='root' />
63*0Sstevel@tonic-gate		    </method_context>
64*0Sstevel@tonic-gate	    </exec_method>
65*0Sstevel@tonic-gate
66*0Sstevel@tonic-gate	    <exec_method
67*0Sstevel@tonic-gate		type='method'
68*0Sstevel@tonic-gate		name='inetd_offline'
69*0Sstevel@tonic-gate	        exec=':kill_process'
70*0Sstevel@tonic-gate		timeout_seconds='0'>
71*0Sstevel@tonic-gate	    </exec_method>
72*0Sstevel@tonic-gate
73*0Sstevel@tonic-gate	    <exec_method
74*0Sstevel@tonic-gate		type='method'
75*0Sstevel@tonic-gate		name='inetd_disable'
76*0Sstevel@tonic-gate		exec=':kill'
77*0Sstevel@tonic-gate	        timeout_seconds='0'>
78*0Sstevel@tonic-gate	    </exec_method>
79*0Sstevel@tonic-gate
80*0Sstevel@tonic-gate	    <property_group name='inetd' type='framework'>
81*0Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='dgram' />
82*0Sstevel@tonic-gate		<propval name='proto' type='astring' value='udp6' />
83*0Sstevel@tonic-gate		<propval name='wait' type='boolean' value='true' />
84*0Sstevel@tonic-gate	    </property_group>
85*0Sstevel@tonic-gate	</instance>
86*0Sstevel@tonic-gate
87*0Sstevel@tonic-gate	<instance name='stream' enabled='false' >
88*0Sstevel@tonic-gate	    <exec_method
89*0Sstevel@tonic-gate		type='method'
90*0Sstevel@tonic-gate		name='inetd_start'
91*0Sstevel@tonic-gate		exec='/usr/lib/inet/in.timed -s'
92*0Sstevel@tonic-gate		timeout_seconds='0'>
93*0Sstevel@tonic-gate		    <method_context>
94*0Sstevel@tonic-gate			<method_credential user='root' group='root' />
95*0Sstevel@tonic-gate		    </method_context>
96*0Sstevel@tonic-gate	    </exec_method>
97*0Sstevel@tonic-gate
98*0Sstevel@tonic-gate	    <exec_method
99*0Sstevel@tonic-gate		type='method'
100*0Sstevel@tonic-gate		name='inetd_disable'
101*0Sstevel@tonic-gate		exec=':kill'
102*0Sstevel@tonic-gate	        timeout_seconds='0'>
103*0Sstevel@tonic-gate	    </exec_method>
104*0Sstevel@tonic-gate
105*0Sstevel@tonic-gate	    <property_group name='inetd' type='framework'>
106*0Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='stream' />
107*0Sstevel@tonic-gate		<propval name='proto' type='astring' value='tcp6' />
108*0Sstevel@tonic-gate		<propval name='wait' type='boolean' value='false' />
109*0Sstevel@tonic-gate	    </property_group>
110*0Sstevel@tonic-gate	</instance>
111*0Sstevel@tonic-gate
112*0Sstevel@tonic-gate	<stability value='Unstable' />
113*0Sstevel@tonic-gate
114*0Sstevel@tonic-gate	<template>
115*0Sstevel@tonic-gate		<common_name>
116*0Sstevel@tonic-gate			<loctext xml:lang='C'>
117*0Sstevel@tonic-gate			time
118*0Sstevel@tonic-gate			</loctext>
119*0Sstevel@tonic-gate		</common_name>
120*0Sstevel@tonic-gate		<documentation>
121*0Sstevel@tonic-gate		</documentation>
122*0Sstevel@tonic-gate	</template>
123*0Sstevel@tonic-gate</service>
124*0Sstevel@tonic-gate
125*0Sstevel@tonic-gate</service_bundle>
126