17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate CDDL HEADER START
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
10fff9db26Svp Common Development and Distribution License (the "License").
11fff9db26Svp You may not use this file except in compliance with the License.
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
157c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
167c478bd9Sstevel@tonic-gate and limitations under the License.
177c478bd9Sstevel@tonic-gate
187c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
197c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
217c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
227c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
237c478bd9Sstevel@tonic-gate
247c478bd9Sstevel@tonic-gate CDDL HEADER END
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
277c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
287c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
297c478bd9Sstevel@tonic-gate	file.
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate	Service manifest for the inetd delegated restarter.
327c478bd9Sstevel@tonic-gate-->
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:inetd'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service
377c478bd9Sstevel@tonic-gate	name='network/inetd'
381f6eb021SLiane Praza	type='restarter'
397c478bd9Sstevel@tonic-gate	version='1'>
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate	<create_default_instance enabled='false' />
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate	<single_instance />
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate	<dependency
467c478bd9Sstevel@tonic-gate		name='loopback'
477c478bd9Sstevel@tonic-gate		grouping='require_any'
487c478bd9Sstevel@tonic-gate		restart_on='error'
497c478bd9Sstevel@tonic-gate		type='service'>
507c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/loopback' />
517c478bd9Sstevel@tonic-gate	</dependency>
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate	<dependency
547c478bd9Sstevel@tonic-gate		name='filesystem'
557c478bd9Sstevel@tonic-gate		grouping='require_all'
567c478bd9Sstevel@tonic-gate		restart_on='error'
577c478bd9Sstevel@tonic-gate		type='service'>
581f6eb021SLiane Praza		<service_fmri value='svc:/system/filesystem/local' />
597c478bd9Sstevel@tonic-gate	</dependency>
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate	<dependency
627c478bd9Sstevel@tonic-gate		name='network'
637c478bd9Sstevel@tonic-gate		grouping='optional_all'
647c478bd9Sstevel@tonic-gate		restart_on='error'
657c478bd9Sstevel@tonic-gate		type='service'>
667c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/network' />
677c478bd9Sstevel@tonic-gate	</dependency>
687c478bd9Sstevel@tonic-gate
697c478bd9Sstevel@tonic-gate	<dependency
707c478bd9Sstevel@tonic-gate		name='rpc'
717c478bd9Sstevel@tonic-gate		grouping='optional_all'
727c478bd9Sstevel@tonic-gate		restart_on='error'
737c478bd9Sstevel@tonic-gate		type='service'>
747c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/bind' />
757c478bd9Sstevel@tonic-gate	</dependency>
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate	<!--
787c478bd9Sstevel@tonic-gate	  Ensure that upgrade has the chance to run before
797c478bd9Sstevel@tonic-gate	  the service to avoid gratuitous complaints about
807c478bd9Sstevel@tonic-gate	  inetd.conf having been modified.
817c478bd9Sstevel@tonic-gate	-->
827c478bd9Sstevel@tonic-gate	<dependency
837c478bd9Sstevel@tonic-gate		name='upgrade'
847c478bd9Sstevel@tonic-gate		grouping='optional_all'
857c478bd9Sstevel@tonic-gate		restart_on='none'
867c478bd9Sstevel@tonic-gate		type='service'>
877c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd-upgrade' />
887c478bd9Sstevel@tonic-gate	</dependency>
897c478bd9Sstevel@tonic-gate
907c478bd9Sstevel@tonic-gate	<dependency
917c478bd9Sstevel@tonic-gate		name='milestones'
927c478bd9Sstevel@tonic-gate		grouping='require_all'
937c478bd9Sstevel@tonic-gate		restart_on='none'
947c478bd9Sstevel@tonic-gate		type='service'>
957c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/sysconfig' />
967c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/name-services' />
977c478bd9Sstevel@tonic-gate	</dependency>
987c478bd9Sstevel@tonic-gate
997c478bd9Sstevel@tonic-gate	<dependent
1007c478bd9Sstevel@tonic-gate		name='inetd_multi-user'
1017c478bd9Sstevel@tonic-gate		grouping='optional_all'
1027c478bd9Sstevel@tonic-gate		restart_on='none'>
1037c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/multi-user' />
1047c478bd9Sstevel@tonic-gate	</dependent>
1057c478bd9Sstevel@tonic-gate
1067c478bd9Sstevel@tonic-gate	<exec_method
1077c478bd9Sstevel@tonic-gate		type='method'
1087c478bd9Sstevel@tonic-gate		name='stop'
1097c478bd9Sstevel@tonic-gate		exec='/usr/lib/inet/inetd %m'
1107c478bd9Sstevel@tonic-gate		timeout_seconds='60' >
1117c478bd9Sstevel@tonic-gate	</exec_method>
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gate	<exec_method
1147c478bd9Sstevel@tonic-gate		type='method'
1157c478bd9Sstevel@tonic-gate		name='start'
1167c478bd9Sstevel@tonic-gate		exec='/usr/lib/inet/inetd %m'
1177c478bd9Sstevel@tonic-gate		timeout_seconds='60' >
1187c478bd9Sstevel@tonic-gate	</exec_method>
1197c478bd9Sstevel@tonic-gate
1207c478bd9Sstevel@tonic-gate	<exec_method
1217c478bd9Sstevel@tonic-gate		type='method'
1227c478bd9Sstevel@tonic-gate		name='refresh'
1237c478bd9Sstevel@tonic-gate		exec='/usr/lib/inet/inetd %m'
1247c478bd9Sstevel@tonic-gate		timeout_seconds='60' >
1257c478bd9Sstevel@tonic-gate	</exec_method>
1267c478bd9Sstevel@tonic-gate
1277c478bd9Sstevel@tonic-gate	<!--
1287c478bd9Sstevel@tonic-gate	   inetd's managed service property defaults. Values chosen to
1297c478bd9Sstevel@tonic-gate	   provide legacy inetd's behavior.
1307c478bd9Sstevel@tonic-gate	-->
1317c478bd9Sstevel@tonic-gate	<property_group
1327c478bd9Sstevel@tonic-gate	    name='defaults'
1337c478bd9Sstevel@tonic-gate	    type='application'>
1347c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
1357c478bd9Sstevel@tonic-gate		<propval name='max_con_rate' type='integer' value='-1' />
1367c478bd9Sstevel@tonic-gate		<propval name='con_rate_offline' type='integer' value='-1' />
137*bbf21555SRichard Lowe		<propval name='max_copies' type='integer' value='-1' />
1387c478bd9Sstevel@tonic-gate		<propval name='failrate_cnt' type='integer' value='40' />
1397c478bd9Sstevel@tonic-gate		<propval name='failrate_interval' type='integer' value='60' />
1407c478bd9Sstevel@tonic-gate		<propval name='inherit_env' type='boolean' value='true' />
141e23de8e2SGary Mills		<propval name='tcp_keepalive' type='boolean' value='false' />
1427c478bd9Sstevel@tonic-gate		<propval name='tcp_trace' type='boolean' value='false' />
1437c478bd9Sstevel@tonic-gate		<propval name='tcp_wrappers' type='boolean' value='false' />
1447c478bd9Sstevel@tonic-gate		<propval name='bind_addr' type='astring' value='' />
1457c478bd9Sstevel@tonic-gate		<propval name='bind_fail_max' type='integer' value='-1' />
1467c478bd9Sstevel@tonic-gate		<propval name='bind_fail_interval' type='integer' value='-1' />
147fff9db26Svp		<propval name='connection_backlog' type='integer' value='10' />
148fff9db26Svp		<propval name='value_authorization' type='astring'
149fff9db26Svp			value='solaris.smf.value.inetd' />
150fff9db26Svp	</property_group>
151fff9db26Svp
152fff9db26Svp	<property_group name='general' type='framework'>
153fff9db26Svp		<!-- to manage inetd -->
154fff9db26Svp		<propval name='action_authorization' type='astring'
155fff9db26Svp			value='solaris.smf.manage.inetd' />
156fff9db26Svp		<propval name='value_authorization' type='astring'
157fff9db26Svp			value='solaris.smf.manage.inetd' />
1587c478bd9Sstevel@tonic-gate	</property_group>
1597c478bd9Sstevel@tonic-gate
160eed64e98Sgm	<property_group name='config' type='application'>
161eed64e98Sgm		<!-- to enable debug-class syslog messages -->
162eed64e98Sgm		<propval name='debug' type='boolean' value='false' />
163eed64e98Sgm		<propval name='value_authorization' type='astring'
164eed64e98Sgm			value='solaris.smf.value.inetd' />
165eed64e98Sgm	</property_group>
166eed64e98Sgm
1677c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1687c478bd9Sstevel@tonic-gate
1697c478bd9Sstevel@tonic-gate	<template>
1707c478bd9Sstevel@tonic-gate		<common_name>
1717c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>inetd</loctext>
1727c478bd9Sstevel@tonic-gate		</common_name>
1737c478bd9Sstevel@tonic-gate		<description>
1747c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1757c478bd9Sstevel@tonic-gateinetd provides listening and spawning services for registered Internet
1767c478bd9Sstevel@tonic-gateservices.
1777c478bd9Sstevel@tonic-gate			</loctext>
1787c478bd9Sstevel@tonic-gate		</description>
1797c478bd9Sstevel@tonic-gate		<documentation>
180*bbf21555SRichard Lowe			<manpage title='inetd' section='8'
1817c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
182*bbf21555SRichard Lowe			<manpage title='inetadm' section='8'
1831f6eb021SLiane Praza				manpath='/usr/share/man' />
1847c478bd9Sstevel@tonic-gate		</documentation>
1851f6eb021SLiane Praza
1861f6eb021SLiane Praza		<pg_pattern name='config' type='application' target='this'
1871f6eb021SLiane Praza		    required='false'>
1881f6eb021SLiane Praza			<prop_pattern name='debug' type='boolean'
1891f6eb021SLiane Praza			    required='false'>
1901f6eb021SLiane Praza				<description>
1911f6eb021SLiane Praza					<loctext xml:lang='C'>
1921f6eb021SLiane PrazaEnable syslog-style debugging messages for inetd.
1931f6eb021SLiane Praza					</loctext>
1941f6eb021SLiane Praza				</description>
1951f6eb021SLiane Praza				<cardinality min='1' max='1' />
1961f6eb021SLiane Praza			</prop_pattern>
1971f6eb021SLiane Praza		</pg_pattern>
1981f6eb021SLiane Praza
1991f6eb021SLiane Praza		<pg_pattern name='defaults' type='application'
2001f6eb021SLiane Praza		    target='this' required='true'>
2011f6eb021SLiane Praza			<description>
2021f6eb021SLiane Praza				<loctext xml:lang='C'>
2031f6eb021SLiane PrazaDefaults for properties optional for inetd services.  Defaults are inherited from inetd if the property is not specified by the service.
2041f6eb021SLiane Praza				</loctext>
2051f6eb021SLiane Praza			</description>
2061f6eb021SLiane Praza			<prop_pattern name='bind_addr' type='astring'
2071f6eb021SLiane Praza			    required='false'>
2081f6eb021SLiane Praza				<description>
2091f6eb021SLiane Praza					<loctext xml:lang='C'>
2101f6eb021SLiane PrazaThe address of the network interface to which the service should be bound.  An empty string value causes the service to accept connections on any network interface.
2111f6eb021SLiane Praza					</loctext>
2121f6eb021SLiane Praza				</description>
2131f6eb021SLiane Praza				<cardinality min='1' max='1' />
2141f6eb021SLiane Praza			</prop_pattern>
2151f6eb021SLiane Praza			<prop_pattern name='bind_fail_interval' type='integer'
2161f6eb021SLiane Praza			    required='true'>
2171f6eb021SLiane Praza				<description>
2181f6eb021SLiane Praza					<loctext xml:lang='C'>
2191f6eb021SLiane PrazaTime in seconds between a failed bind attempt and a retry.
2201f6eb021SLiane Praza					</loctext>
2211f6eb021SLiane Praza				</description>
2221f6eb021SLiane Praza				<cardinality min='1' max='1' />
2231f6eb021SLiane Praza				<values>
2241f6eb021SLiane Praza					<value name='0'>
2251f6eb021SLiane Praza						<description>
2261f6eb021SLiane Praza							<loctext xml:lang='C'>
2271f6eb021SLiane PrazaNo retries are attempted.
2281f6eb021SLiane Praza							</loctext>
2291f6eb021SLiane Praza						</description>
2301f6eb021SLiane Praza					</value>
2311f6eb021SLiane Praza					<value name='-1'>
2321f6eb021SLiane Praza						<description>
2331f6eb021SLiane Praza							<loctext xml:lang='C'>
2341f6eb021SLiane PrazaNo retries are attempted.
2351f6eb021SLiane Praza							</loctext>
2361f6eb021SLiane Praza						</description>
2371f6eb021SLiane Praza					</value>
2381f6eb021SLiane Praza				</values>
2391f6eb021SLiane Praza			</prop_pattern>
2401f6eb021SLiane Praza			<prop_pattern name='bind_fail_max' type='integer'
2411f6eb021SLiane Praza			    required='true'>
2421f6eb021SLiane Praza				<description>
2431f6eb021SLiane Praza					<loctext xml:lang='C'>
2441f6eb021SLiane PrazaThe maxiumum nubmer of times inetd retries binding to a service's port before giving up.
2451f6eb021SLiane Praza					</loctext>
2461f6eb021SLiane Praza				</description>
2471f6eb021SLiane Praza				<cardinality min='1' max='1' />
2481f6eb021SLiane Praza				<values>
2491f6eb021SLiane Praza					<value name='-1'>
2501f6eb021SLiane Praza						<description>
2511f6eb021SLiane Praza							<loctext xml:lang='C'>
2521f6eb021SLiane PrazaNo retry limiting is imposed.
2531f6eb021SLiane Praza							</loctext>
2541f6eb021SLiane Praza						</description>
2551f6eb021SLiane Praza					</value>
2561f6eb021SLiane Praza				</values>
2571f6eb021SLiane Praza			</prop_pattern>
2581f6eb021SLiane Praza			<prop_pattern name='con_rate_offline' type='integer'
2591f6eb021SLiane Praza			    required='true'>
2601f6eb021SLiane Praza				<description>
2611f6eb021SLiane Praza					<loctext xml:lang='C'>
2621f6eb021SLiane PrazaThe time in seconds a service will remain offline if it exceeds its configured maximum connection rate, as defined by max_con_rate.
2631f6eb021SLiane Praza					</loctext>
2641f6eb021SLiane Praza				</description>
2651f6eb021SLiane Praza				<cardinality min='1' max='1' />
2661f6eb021SLiane Praza				<values>
2671f6eb021SLiane Praza					<value name='0'>
2681f6eb021SLiane Praza						<description>
2691f6eb021SLiane Praza							<loctext xml:lang='C'>
2701f6eb021SLiane PrazaConnection rate limiting is disabled.
2711f6eb021SLiane Praza							</loctext>
2721f6eb021SLiane Praza						</description>
2731f6eb021SLiane Praza					</value>
2741f6eb021SLiane Praza					<value name='-1'>
2751f6eb021SLiane Praza						<description>
2761f6eb021SLiane Praza							<loctext xml:lang='C'>
2771f6eb021SLiane PrazaConnection rate limiting is disabled.
2781f6eb021SLiane Praza							</loctext>
2791f6eb021SLiane Praza						</description>
2801f6eb021SLiane Praza					</value>
2811f6eb021SLiane Praza				</values>
2821f6eb021SLiane Praza			</prop_pattern>
2831f6eb021SLiane Praza			<prop_pattern name='connection_backlog' type='integer'
2841f6eb021SLiane Praza			    required='true'>
2851f6eb021SLiane Praza				<description>
2861f6eb021SLiane Praza					<loctext xml:lang='C'>
2871f6eb021SLiane PrazaThe limit on the number of incoming client requests that can be queued at the listening endpoints for servers.
2881f6eb021SLiane Praza					</loctext>
2891f6eb021SLiane Praza				</description>
2901f6eb021SLiane Praza				<cardinality min='1' max='1' />
2911f6eb021SLiane Praza			</prop_pattern>
2921f6eb021SLiane Praza			<prop_pattern name='failrate_cnt' type='integer'
2931f6eb021SLiane Praza			    required='true'>
2941f6eb021SLiane Praza				<description>
2951f6eb021SLiane Praza					<loctext xml:lang='C'>
2961f6eb021SLiane PrazaNumber of instances of a wait-type service which, in combination with the failrate_interval property, determine when to transition the service into maintenance.
2971f6eb021SLiane Praza					</loctext>
2981f6eb021SLiane Praza				</description>
2991f6eb021SLiane Praza				<cardinality min='1' max='1' />
3001f6eb021SLiane Praza				<values>
3011f6eb021SLiane Praza					<value name='0'>
3021f6eb021SLiane Praza						<description>
3031f6eb021SLiane Praza							<loctext xml:lang='C'>
3041f6eb021SLiane PrazaFailure rate limiting is disabled.
3051f6eb021SLiane Praza							</loctext>
3061f6eb021SLiane Praza						</description>
3071f6eb021SLiane Praza					</value>
3081f6eb021SLiane Praza					<value name='-1'>
3091f6eb021SLiane Praza						<description>
3101f6eb021SLiane Praza							<loctext xml:lang='C'>
3111f6eb021SLiane PrazaFailure rate limiting is disabled.
3121f6eb021SLiane Praza							</loctext>
3131f6eb021SLiane Praza						</description>
3141f6eb021SLiane Praza					</value>
3151f6eb021SLiane Praza				</values>
3161f6eb021SLiane Praza			</prop_pattern>
3171f6eb021SLiane Praza			<prop_pattern name='failrate_interval' type='integer'
3181f6eb021SLiane Praza			    required='true'>
3191f6eb021SLiane Praza				<description>
3201f6eb021SLiane Praza					<loctext xml:lang='C'>
3211f6eb021SLiane PrazaTime in seconds for interval to check for failrate_cnt failures of wait-type services which determine when to transition the service into maintenance.
3221f6eb021SLiane Praza					</loctext>
3231f6eb021SLiane Praza				</description>
3241f6eb021SLiane Praza				<cardinality min='1' max='1' />
3251f6eb021SLiane Praza				<values>
3261f6eb021SLiane Praza					<value name='0'>
3271f6eb021SLiane Praza						<description>
3281f6eb021SLiane Praza							<loctext xml:lang='C'>
3291f6eb021SLiane PrazaFailure rate limiting is disabled.
3301f6eb021SLiane Praza							</loctext>
3311f6eb021SLiane Praza						</description>
3321f6eb021SLiane Praza					</value>
3331f6eb021SLiane Praza					<value name='-1'>
3341f6eb021SLiane Praza						<description>
3351f6eb021SLiane Praza							<loctext xml:lang='C'>
3361f6eb021SLiane PrazaFailure rate limiting is disabled.
3371f6eb021SLiane Praza							</loctext>
3381f6eb021SLiane Praza						</description>
3391f6eb021SLiane Praza					</value>
3401f6eb021SLiane Praza				</values>
3411f6eb021SLiane Praza			</prop_pattern>
3421f6eb021SLiane Praza			<prop_pattern name='inherit_env' type='boolean'
3431f6eb021SLiane Praza			    required='true'>
3441f6eb021SLiane Praza				<description>
3451f6eb021SLiane Praza					<loctext xml:lang='C'>
3461f6eb021SLiane PrazaIf true, pass inetd's environment on to the service's start method.  If false, the environment is cleared with the exception of SMF_*, and the environment variables from the method context.
3471f6eb021SLiane Praza					</loctext>
3481f6eb021SLiane Praza				</description>
3491f6eb021SLiane Praza				<cardinality min='1' max='1' />
3501f6eb021SLiane Praza			</prop_pattern>
3511f6eb021SLiane Praza			<prop_pattern name='max_con_rate' type='integer'
3521f6eb021SLiane Praza			    required='true'>
3531f6eb021SLiane Praza				<description>
3541f6eb021SLiane Praza					<loctext xml:lang='C'>
3551f6eb021SLiane PrazaThe maximum allowed connection rate, in connections per second for a nowait-type service.
3561f6eb021SLiane Praza					</loctext>
3571f6eb021SLiane Praza				</description>
3581f6eb021SLiane Praza				<units>
3591f6eb021SLiane Praza					<loctext xml:lang='C'>
3601f6eb021SLiane Prazaconnections per second
3611f6eb021SLiane Praza					</loctext>
3621f6eb021SLiane Praza				</units>
3631f6eb021SLiane Praza				<cardinality min='1' max='1' />
3641f6eb021SLiane Praza				<values>
3651f6eb021SLiane Praza					<value name='0'>
3661f6eb021SLiane Praza						<description>
3671f6eb021SLiane Praza							<loctext xml:lang='C'>
3681f6eb021SLiane PrazaConnection rate limiting is disabled.
3691f6eb021SLiane Praza							</loctext>
3701f6eb021SLiane Praza						</description>
3711f6eb021SLiane Praza					</value>
3721f6eb021SLiane Praza					<value name='-1'>
3731f6eb021SLiane Praza						<description>
3741f6eb021SLiane Praza							<loctext xml:lang='C'>
3751f6eb021SLiane PrazaConnection rate limiting is disabled.
3761f6eb021SLiane Praza							</loctext>
3771f6eb021SLiane Praza						</description>
3781f6eb021SLiane Praza					</value>
3791f6eb021SLiane Praza				</values>
3801f6eb021SLiane Praza			</prop_pattern>
3811f6eb021SLiane Praza			<prop_pattern name='max_copies' type='integer'
3821f6eb021SLiane Praza			    required='true'>
3831f6eb021SLiane Praza				<description>
3841f6eb021SLiane Praza					<loctext xml:lang='C'>
3851f6eb021SLiane PrazaMaximum number of copies of a nowait service that can run concurrently.
3861f6eb021SLiane Praza					</loctext>
3871f6eb021SLiane Praza				</description>
3881f6eb021SLiane Praza				<cardinality min='1' max='1' />
3891f6eb021SLiane Praza				<values>
3901f6eb021SLiane Praza					<value name='0'>
3911f6eb021SLiane Praza						<description>
3921f6eb021SLiane Praza							<loctext xml:lang='C'>
3931f6eb021SLiane PrazaCopies limiting is disabled.
3941f6eb021SLiane Praza							</loctext>
3951f6eb021SLiane Praza						</description>
3961f6eb021SLiane Praza					</value>
3971f6eb021SLiane Praza					<value name='-1'>
3981f6eb021SLiane Praza						<description>
3991f6eb021SLiane Praza							<loctext xml:lang='C'>
4001f6eb021SLiane PrazaCopies limiting is disabled.
4011f6eb021SLiane Praza							</loctext>
4021f6eb021SLiane Praza						</description>
4031f6eb021SLiane Praza					</value>
4041f6eb021SLiane Praza				</values>
4051f6eb021SLiane Praza			</prop_pattern>
406e23de8e2SGary Mills			<prop_pattern name='tcp_keepalive' type='boolean'
407e23de8e2SGary Mills			    required='true'>
408e23de8e2SGary Mills				<description>
409e23de8e2SGary Mills					<loctext xml:lang='C'>
410e23de8e2SGary MillsIf true, enables periodic transmission of messages for nowait stream services.
411e23de8e2SGary Mills					</loctext>
412e23de8e2SGary Mills				</description>
413e23de8e2SGary Mills				<cardinality min='1' max='1' />
414e23de8e2SGary Mills			</prop_pattern>
4151f6eb021SLiane Praza			<prop_pattern name='tcp_trace' type='boolean'
4161f6eb021SLiane Praza			    required='true'>
4171f6eb021SLiane Praza				<description>
4181f6eb021SLiane Praza					<loctext xml:lang='C'>
4191f6eb021SLiane PrazaIf true, enables logging of the service name, client IP address, and TCP port number for nowait services using syslog.
4201f6eb021SLiane Praza					</loctext>
4211f6eb021SLiane Praza				</description>
4221f6eb021SLiane Praza				<cardinality min='1' max='1' />
4231f6eb021SLiane Praza			</prop_pattern>
4241f6eb021SLiane Praza			<prop_pattern name='tcp_wrappers' type='boolean'
4251f6eb021SLiane Praza			    required='true'>
4261f6eb021SLiane Praza				<description>
4271f6eb021SLiane Praza					<loctext xml:lang='C'>
4281f6eb021SLiane PrazaIf true, enables TCP wrappers for nowait stream services.
4291f6eb021SLiane Praza					</loctext>
4301f6eb021SLiane Praza				</description>
4311f6eb021SLiane Praza				<cardinality min='1' max='1' />
4321f6eb021SLiane Praza			</prop_pattern>
4331f6eb021SLiane Praza		</pg_pattern>
4341f6eb021SLiane Praza
4351f6eb021SLiane Praza		<pg_pattern name='inetd' type='framework'
4361f6eb021SLiane Praza		    target='delegate' required='true'>
4371f6eb021SLiane Praza			<description>
4381f6eb021SLiane Praza				<loctext xml:lang='C'>
4391f6eb021SLiane PrazaBasic configuration of an inetd-managed service.  Defaults are inherited from inetd if the property is not specified by the service.
4401f6eb021SLiane Praza				</loctext>
4411f6eb021SLiane Praza			</description>
4421f6eb021SLiane Praza			<prop_pattern name='bind_addr' type='astring'
4431f6eb021SLiane Praza			    required='false'>
4441f6eb021SLiane Praza				<description>
4451f6eb021SLiane Praza					<loctext xml:lang='C'>
4461f6eb021SLiane PrazaThe address of the network interface to which the service should be bound.  An empty string value causes the service to accept connections on any network interface.
4471f6eb021SLiane Praza					</loctext>
4481f6eb021SLiane Praza				</description>
4491f6eb021SLiane Praza				<cardinality min='1' max='1' />
4501f6eb021SLiane Praza			</prop_pattern>
4511f6eb021SLiane Praza			<prop_pattern name='bind_fail_interval' type='integer'
4521f6eb021SLiane Praza			    required='false'>
4531f6eb021SLiane Praza				<description>
4541f6eb021SLiane Praza					<loctext xml:lang='C'>
4551f6eb021SLiane PrazaTime in seconds between a failed bind attempt and a retry.
4561f6eb021SLiane Praza					</loctext>
4571f6eb021SLiane Praza				</description>
4581f6eb021SLiane Praza				<cardinality min='1' max='1' />
4591f6eb021SLiane Praza				<values>
4601f6eb021SLiane Praza					<value name='0'>
4611f6eb021SLiane Praza						<description>
4621f6eb021SLiane Praza							<loctext xml:lang='C'>
4631f6eb021SLiane PrazaNo retries are attempted.
4641f6eb021SLiane Praza							</loctext>
4651f6eb021SLiane Praza						</description>
4661f6eb021SLiane Praza					</value>
4671f6eb021SLiane Praza					<value name='-1'>
4681f6eb021SLiane Praza						<description>
4691f6eb021SLiane Praza							<loctext xml:lang='C'>
4701f6eb021SLiane PrazaNo retries are attempted.
4711f6eb021SLiane Praza							</loctext>
4721f6eb021SLiane Praza						</description>
4731f6eb021SLiane Praza					</value>
4741f6eb021SLiane Praza				</values>
4751f6eb021SLiane Praza			</prop_pattern>
4761f6eb021SLiane Praza			<prop_pattern name='bind_fail_max' type='integer'
4771f6eb021SLiane Praza			    required='false'>
4781f6eb021SLiane Praza				<description>
4791f6eb021SLiane Praza					<loctext xml:lang='C'>
4801f6eb021SLiane PrazaThe maxiumum nubmer of times inetd retries binding to a service's port before giving up.
4811f6eb021SLiane Praza					</loctext>
4821f6eb021SLiane Praza				</description>
4831f6eb021SLiane Praza				<cardinality min='1' max='1' />
4841f6eb021SLiane Praza				<values>
4851f6eb021SLiane Praza					<value name='-1'>
4861f6eb021SLiane Praza						<description>
4871f6eb021SLiane Praza							<loctext xml:lang='C'>
4881f6eb021SLiane PrazaNo retry limiting is imposed.
4891f6eb021SLiane Praza							</loctext>
4901f6eb021SLiane Praza						</description>
4911f6eb021SLiane Praza					</value>
4921f6eb021SLiane Praza				</values>
4931f6eb021SLiane Praza			</prop_pattern>
4941f6eb021SLiane Praza			<prop_pattern name='con_rate_offline' type='integer'
4951f6eb021SLiane Praza			    required='false'>
4961f6eb021SLiane Praza				<description>
4971f6eb021SLiane Praza					<loctext xml:lang='C'>
4981f6eb021SLiane PrazaThe time in seconds a service will remain offline if it exceeds its configured maximum connection rate, as defined by max_con_rate.
4991f6eb021SLiane Praza					</loctext>
5001f6eb021SLiane Praza				</description>
5011f6eb021SLiane Praza				<cardinality min='1' max='1' />
5021f6eb021SLiane Praza				<values>
5031f6eb021SLiane Praza					<value name='0'>
5041f6eb021SLiane Praza						<description>
5051f6eb021SLiane Praza							<loctext xml:lang='C'>
5061f6eb021SLiane PrazaConnection rate limiting is disabled.
5071f6eb021SLiane Praza							</loctext>
5081f6eb021SLiane Praza						</description>
5091f6eb021SLiane Praza					</value>
5101f6eb021SLiane Praza					<value name='-1'>
5111f6eb021SLiane Praza						<description>
5121f6eb021SLiane Praza							<loctext xml:lang='C'>
5131f6eb021SLiane PrazaConnection rate limiting is disabled.
5141f6eb021SLiane Praza							</loctext>
5151f6eb021SLiane Praza						</description>
5161f6eb021SLiane Praza					</value>
5171f6eb021SLiane Praza				</values>
5181f6eb021SLiane Praza			</prop_pattern>
5191f6eb021SLiane Praza			<prop_pattern name='connection_backlog' type='integer'
5201f6eb021SLiane Praza			    required='false'>
5211f6eb021SLiane Praza				<description>
5221f6eb021SLiane Praza					<loctext xml:lang='C'>
5231f6eb021SLiane PrazaThe limit on the number of incoming client requests that can be queued at the listening endpoints for servers.
5241f6eb021SLiane Praza					</loctext>
5251f6eb021SLiane Praza				</description>
5261f6eb021SLiane Praza				<cardinality min='1' max='1' />
5271f6eb021SLiane Praza			</prop_pattern>
5281f6eb021SLiane Praza			<prop_pattern name='endpoint_type' type='astring'
5291f6eb021SLiane Praza			    required='true'>
5301f6eb021SLiane Praza				<description>
5311f6eb021SLiane Praza					<loctext xml:lang='C'>
5321f6eb021SLiane PrazaThe type of socket used by the service.
5331f6eb021SLiane Praza					</loctext>
5341f6eb021SLiane Praza				</description>
5351f6eb021SLiane Praza				<cardinality min='1' max='1' />
5361f6eb021SLiane Praza				<constraints>
5371f6eb021SLiane Praza					<value name='tli'>
5381f6eb021SLiane Praza						<description>
5391f6eb021SLiane Praza							<loctext xml:lang='C'>
5401f6eb021SLiane PrazaTLI endpoint
5411f6eb021SLiane Praza							</loctext>
5421f6eb021SLiane Praza						</description>
5431f6eb021SLiane Praza					</value>
5441f6eb021SLiane Praza					<value name='stream'>
5451f6eb021SLiane Praza						<description>
5461f6eb021SLiane Praza							<loctext xml:lang='C'>
5471f6eb021SLiane Prazastream socket
5481f6eb021SLiane Praza							</loctext>
5491f6eb021SLiane Praza						</description>
5501f6eb021SLiane Praza					</value>
5511f6eb021SLiane Praza					<value name='dgram'>
5521f6eb021SLiane Praza						<description>
5531f6eb021SLiane Praza							<loctext xml:lang='C'>
5541f6eb021SLiane Prazadatagram socket
5551f6eb021SLiane Praza							</loctext>
5561f6eb021SLiane Praza						</description>
5571f6eb021SLiane Praza					</value>
5581f6eb021SLiane Praza					<value name='raw'>
5591f6eb021SLiane Praza						<description>
5601f6eb021SLiane Praza							<loctext xml:lang='C'>
5611f6eb021SLiane Prazaraw socket
5621f6eb021SLiane Praza							</loctext>
5631f6eb021SLiane Praza						</description>
5641f6eb021SLiane Praza					</value>
5651f6eb021SLiane Praza					<value name='seqpacket'>
5661f6eb021SLiane Praza						<description>
5671f6eb021SLiane Praza							<loctext xml:lang='C'>
5681f6eb021SLiane Prazasequenced packet socket
5691f6eb021SLiane Praza							</loctext>
5701f6eb021SLiane Praza						</description>
5711f6eb021SLiane Praza					</value>
5721f6eb021SLiane Praza				</constraints>
5731f6eb021SLiane Praza				<choices>
5741f6eb021SLiane Praza					<value name='dgram' />
5751f6eb021SLiane Praza					<value name='stream' />
5761f6eb021SLiane Praza					<value name='tli' />
5771f6eb021SLiane Praza				</choices>
5781f6eb021SLiane Praza			</prop_pattern>
5791f6eb021SLiane Praza			<prop_pattern name='failrate_cnt' type='integer'
5801f6eb021SLiane Praza			    required='false'>
5811f6eb021SLiane Praza				<description>
5821f6eb021SLiane Praza					<loctext xml:lang='C'>
5831f6eb021SLiane PrazaNumber of instances of a wait-type service which, in combination with the failrate_interval property, determine when to transition the service into maintenance.
5841f6eb021SLiane Praza					</loctext>
5851f6eb021SLiane Praza				</description>
5861f6eb021SLiane Praza				<cardinality min='1' max='1' />
5871f6eb021SLiane Praza				<values>
5881f6eb021SLiane Praza					<value name='0'>
5891f6eb021SLiane Praza						<description>
5901f6eb021SLiane Praza							<loctext xml:lang='C'>
5911f6eb021SLiane PrazaFailure rate limiting is disabled.
5921f6eb021SLiane Praza							</loctext>
5931f6eb021SLiane Praza						</description>
5941f6eb021SLiane Praza					</value>
5951f6eb021SLiane Praza					<value name='-1'>
5961f6eb021SLiane Praza						<description>
5971f6eb021SLiane Praza							<loctext xml:lang='C'>
5981f6eb021SLiane PrazaFailure rate limiting is disabled.
5991f6eb021SLiane Praza							</loctext>
6001f6eb021SLiane Praza						</description>
6011f6eb021SLiane Praza					</value>
6021f6eb021SLiane Praza				</values>
6031f6eb021SLiane Praza			</prop_pattern>
6041f6eb021SLiane Praza			<prop_pattern name='failrate_interval' type='integer'
6051f6eb021SLiane Praza			    required='false'>
6061f6eb021SLiane Praza				<description>
6071f6eb021SLiane Praza					<loctext xml:lang='C'>
6081f6eb021SLiane PrazaTime in seconds for interval to check for failrate_cnt failures of wait-type services which determine when to transition the service into maintenance.
6091f6eb021SLiane Praza					</loctext>
6101f6eb021SLiane Praza				</description>
6111f6eb021SLiane Praza				<cardinality min='1' max='1' />
6121f6eb021SLiane Praza				<values>
6131f6eb021SLiane Praza					<value name='0'>
6141f6eb021SLiane Praza						<description>
6151f6eb021SLiane Praza							<loctext xml:lang='C'>
6161f6eb021SLiane PrazaFailure rate limiting is disabled.
6171f6eb021SLiane Praza							</loctext>
6181f6eb021SLiane Praza						</description>
6191f6eb021SLiane Praza					</value>
6201f6eb021SLiane Praza					<value name='-1'>
6211f6eb021SLiane Praza						<description>
6221f6eb021SLiane Praza							<loctext xml:lang='C'>
6231f6eb021SLiane PrazaFailure rate limiting is disabled.
6241f6eb021SLiane Praza							</loctext>
6251f6eb021SLiane Praza						</description>
6261f6eb021SLiane Praza					</value>
6271f6eb021SLiane Praza				</values>
6281f6eb021SLiane Praza			</prop_pattern>
6291f6eb021SLiane Praza			<prop_pattern name='inherit_env' type='boolean'
6301f6eb021SLiane Praza			    required='false'>
6311f6eb021SLiane Praza				<description>
6321f6eb021SLiane Praza					<loctext xml:lang='C'>
6331f6eb021SLiane PrazaIf true, pass inetd's environment on to the service's start method.  If false, the environment is cleared with the exception of SMF_*, and the environment variables from the method context.
6341f6eb021SLiane Praza					</loctext>
6351f6eb021SLiane Praza				</description>
6361f6eb021SLiane Praza				<cardinality min='1' max='1' />
6371f6eb021SLiane Praza			</prop_pattern>
6381f6eb021SLiane Praza			<prop_pattern name='isrpc' type='boolean'
6391f6eb021SLiane Praza			    required='false'>
6401f6eb021SLiane Praza				<description>
6411f6eb021SLiane Praza					<loctext xml:lang='C'>
6421f6eb021SLiane PrazaIf true, this is an RPC service.
6431f6eb021SLiane Praza					</loctext>
6441f6eb021SLiane Praza				</description>
6451f6eb021SLiane Praza				<cardinality min='1' max='1' />
6461f6eb021SLiane Praza			</prop_pattern>
6471f6eb021SLiane Praza			<prop_pattern name='max_con_rate' type='integer'
6481f6eb021SLiane Praza			    required='false'>
6491f6eb021SLiane Praza				<description>
6501f6eb021SLiane Praza					<loctext xml:lang='C'>
6511f6eb021SLiane PrazaThe maximum allowed connection rate, in connections per second for a nowait-type service.
6521f6eb021SLiane Praza					</loctext>
6531f6eb021SLiane Praza				</description>
6541f6eb021SLiane Praza				<units>
6551f6eb021SLiane Praza					<loctext xml:lang='C'>
6561f6eb021SLiane Prazaconnections per second
6571f6eb021SLiane Praza					</loctext>
6581f6eb021SLiane Praza				</units>
6591f6eb021SLiane Praza				<cardinality min='1' max='1' />
6601f6eb021SLiane Praza				<values>
6611f6eb021SLiane Praza					<value name='0'>
6621f6eb021SLiane Praza						<description>
6631f6eb021SLiane Praza							<loctext xml:lang='C'>
6641f6eb021SLiane PrazaConnection rate limiting is disabled.
6651f6eb021SLiane Praza							</loctext>
6661f6eb021SLiane Praza						</description>
6671f6eb021SLiane Praza					</value>
6681f6eb021SLiane Praza					<value name='-1'>
6691f6eb021SLiane Praza						<description>
6701f6eb021SLiane Praza							<loctext xml:lang='C'>
6711f6eb021SLiane PrazaConnection rate limiting is disabled.
6721f6eb021SLiane Praza							</loctext>
6731f6eb021SLiane Praza						</description>
6741f6eb021SLiane Praza					</value>
6751f6eb021SLiane Praza				</values>
6761f6eb021SLiane Praza			</prop_pattern>
6771f6eb021SLiane Praza			<prop_pattern name='max_copies' type='integer'
6781f6eb021SLiane Praza			    required='false'>
6791f6eb021SLiane Praza				<description>
6801f6eb021SLiane Praza					<loctext xml:lang='C'>
6811f6eb021SLiane PrazaMaximum number of copies of a nowait service that can run concurrently.
6821f6eb021SLiane Praza					</loctext>
6831f6eb021SLiane Praza				</description>
6841f6eb021SLiane Praza				<cardinality min='1' max='1' />
6851f6eb021SLiane Praza				<values>
6861f6eb021SLiane Praza					<value name='0'>
6871f6eb021SLiane Praza						<description>
6881f6eb021SLiane Praza							<loctext xml:lang='C'>
6891f6eb021SLiane PrazaCopies limiting is disabled.
6901f6eb021SLiane Praza							</loctext>
6911f6eb021SLiane Praza						</description>
6921f6eb021SLiane Praza					</value>
6931f6eb021SLiane Praza					<value name='-1'>
6941f6eb021SLiane Praza						<description>
6951f6eb021SLiane Praza							<loctext xml:lang='C'>
6961f6eb021SLiane PrazaCopies limiting is disabled.
6971f6eb021SLiane Praza							</loctext>
6981f6eb021SLiane Praza						</description>
6991f6eb021SLiane Praza					</value>
7001f6eb021SLiane Praza				</values>
7011f6eb021SLiane Praza			</prop_pattern>
7021f6eb021SLiane Praza			<prop_pattern name='name' type='astring'
7031f6eb021SLiane Praza			    required='true'>
7041f6eb021SLiane Praza				<description>
7051f6eb021SLiane Praza					<loctext xml:lang='C'>
7061f6eb021SLiane PrazaCan be set to a service name understood by getservbyname(3SOCKET), or if isrpc is true, a service name understood by getrpcbyname(3NSL) or a valid RPC program number.
7071f6eb021SLiane Praza					</loctext>
7081f6eb021SLiane Praza				</description>
7091f6eb021SLiane Praza				<cardinality min='1' max='1' />
7101f6eb021SLiane Praza			</prop_pattern>
7111f6eb021SLiane Praza			<prop_pattern name='proto' type='astring'
7121f6eb021SLiane Praza			    required='true'>
7131f6eb021SLiane Praza				<description>
7141f6eb021SLiane Praza					<loctext xml:lang='C'>
7151f6eb021SLiane PrazaA list of protocols supported by the service.
7161f6eb021SLiane Praza					</loctext>
7171f6eb021SLiane Praza				</description>
7181f6eb021SLiane Praza				<choices>
7191f6eb021SLiane Praza					<value name='tcp' />
7201f6eb021SLiane Praza					<value name='tcp6' />
7211f6eb021SLiane Praza					<value name='tcp6only' />
7221f6eb021SLiane Praza					<value name='udp' />
7231f6eb021SLiane Praza					<value name='udp6' />
7241f6eb021SLiane Praza					<value name='udp6only' />
7251f6eb021SLiane Praza				</choices>
7261f6eb021SLiane Praza			</prop_pattern>
7271f6eb021SLiane Praza			<prop_pattern name='rpc_low_version' type='integer'
7281f6eb021SLiane Praza			    required='false'>
7291f6eb021SLiane Praza				<description>
7301f6eb021SLiane Praza					<loctext xml:lang='C'>
7311f6eb021SLiane PrazaLowest supported RPC version.  Required when isrpc is set to true.
7321f6eb021SLiane Praza					</loctext>
7331f6eb021SLiane Praza				</description>
7341f6eb021SLiane Praza				<cardinality min='1' max='1' />
7351f6eb021SLiane Praza			</prop_pattern>
7361f6eb021SLiane Praza			<prop_pattern name='rpc_high_version' type='integer'
7371f6eb021SLiane Praza			    required='false'>
7381f6eb021SLiane Praza				<description>
7391f6eb021SLiane Praza					<loctext xml:lang='C'>
7401f6eb021SLiane PrazaHighest supported RPC version.  Required when isrpc is set to true.
7411f6eb021SLiane Praza					</loctext>
7421f6eb021SLiane Praza				</description>
7431f6eb021SLiane Praza				<cardinality min='1' max='1' />
7441f6eb021SLiane Praza			</prop_pattern>
745e23de8e2SGary Mills			<prop_pattern name='tcp_keepalive' type='boolean'
746e23de8e2SGary Mills			    required='false'>
747e23de8e2SGary Mills				<description>
748e23de8e2SGary Mills					<loctext xml:lang='C'>
749e23de8e2SGary MillsIf true, enables periodic transmission of messages for nowait stream services.
750e23de8e2SGary Mills					</loctext>
751e23de8e2SGary Mills				</description>
752e23de8e2SGary Mills				<cardinality min='1' max='1' />
753e23de8e2SGary Mills			</prop_pattern>
7541f6eb021SLiane Praza			<prop_pattern name='tcp_trace' type='boolean'
7551f6eb021SLiane Praza			    required='false'>
7561f6eb021SLiane Praza				<description>
7571f6eb021SLiane Praza					<loctext xml:lang='C'>
7581f6eb021SLiane PrazaIf true, enables logging of the service name, client IP address, and TCP port number for nowait services using syslog.
7591f6eb021SLiane Praza					</loctext>
7601f6eb021SLiane Praza				</description>
7611f6eb021SLiane Praza				<cardinality min='1' max='1' />
7621f6eb021SLiane Praza			</prop_pattern>
7631f6eb021SLiane Praza			<prop_pattern name='tcp_wrappers' type='boolean'
7641f6eb021SLiane Praza			    required='false'>
7651f6eb021SLiane Praza				<description>
7661f6eb021SLiane Praza					<loctext xml:lang='C'>
7671f6eb021SLiane PrazaIf true, enables TCP wrappers for nowait stream services.
7681f6eb021SLiane Praza					</loctext>
7691f6eb021SLiane Praza				</description>
7701f6eb021SLiane Praza				<cardinality min='1' max='1' />
7711f6eb021SLiane Praza			</prop_pattern>
7721f6eb021SLiane Praza			<prop_pattern name='wait' type='boolean'
7731f6eb021SLiane Praza			    required='false'>
7741f6eb021SLiane Praza				<description>
7751f6eb021SLiane Praza					<loctext xml:lang='C'>
7761f6eb021SLiane PrazaIf true, this is a wait-type service.  For wait-type services, the inetd_start method will take over listening duties on the service's bound endpoint and inetd will wait for it to exit before resuming listening.
7771f6eb021SLiane Praza					</loctext>
7781f6eb021SLiane Praza				</description>
7791f6eb021SLiane Praza				<cardinality min='1' max='1' />
7801f6eb021SLiane Praza			</prop_pattern>
7811f6eb021SLiane Praza		</pg_pattern>
7821f6eb021SLiane Praza
7831f6eb021SLiane Praza		<pg_pattern type='method' target='delegate' required='false'>
7841f6eb021SLiane Praza			<description>
7851f6eb021SLiane Praza				<loctext xml:lang='C'>
7861f6eb021SLiane PrazaA method defines how inetd interacts with its services.  inetd_start is executed to handle a connection.  inetd_offline is executed when the service is taken offline.  inetd_online is executed when the service is taken from offline to online.  inetd_disable is executed when the service is disabled.  inetd_refresh is executed when the service is refreshed.
7871f6eb021SLiane Praza				</loctext>
7881f6eb021SLiane Praza			</description>
7891f6eb021SLiane Praza
7901f6eb021SLiane Praza			<prop_pattern name='exec' type='astring'
7911f6eb021SLiane Praza			    required='true'>
7921f6eb021SLiane Praza				<common_name>
7931f6eb021SLiane Praza					<loctext xml:lang='C'>
7941f6eb021SLiane Prazamethod executable
7951f6eb021SLiane Praza					</loctext>
7961f6eb021SLiane Praza				</common_name>
7971f6eb021SLiane Praza				<description>
7981f6eb021SLiane Praza					<loctext xml:lang='C'>
7991f6eb021SLiane PrazaThe method executable may be a script, program, or keyword.
8001f6eb021SLiane Praza					</loctext>
8011f6eb021SLiane Praza				</description>
8021f6eb021SLiane Praza				<cardinality min='1' max='1' />
8031f6eb021SLiane Praza				<values>
8041f6eb021SLiane Praza					<value name=':true'>
8051f6eb021SLiane Praza						<description>
8061f6eb021SLiane Praza							<loctext xml:lang='C'>
8071f6eb021SLiane PrazaAlways returns SMF_EXIT_OK. This token should be used for methods that are required by the restarter but which are unnecessary for the particular service implementation.
8081f6eb021SLiane Praza							</loctext>
8091f6eb021SLiane Praza						</description>
8101f6eb021SLiane Praza					</value>
8111f6eb021SLiane Praza					<value name=':kill [-signal]'>
8121f6eb021SLiane Praza						<description>
8131f6eb021SLiane Praza							<loctext xml:lang='C'>
8141f6eb021SLiane PrazaSends the specified signal, which is SIGTERM by default, to all processes in the primary instance contract. Always returns SMF_EXIT_OK. This token should be used to replace common pkill invocations.
8151f6eb021SLiane Praza
8161f6eb021SLiane Praza							</loctext>
8171f6eb021SLiane Praza						</description>
8181f6eb021SLiane Praza					</value>
8191f6eb021SLiane Praza					<value name=':kill_process [-signal]'>
8201f6eb021SLiane Praza						<description>
8211f6eb021SLiane Praza							<loctext xml:lang='C'>
8221f6eb021SLiane PrazaFor wait-type services, send the specified signal, which is SIGTERM by default, to the parent process of the wait-type serviće´s start method.
8231f6eb021SLiane Praza							</loctext>
8241f6eb021SLiane Praza						</description>
8251f6eb021SLiane Praza					</value>
8261f6eb021SLiane Praza				</values>
8271f6eb021SLiane Praza				<choices>
8281f6eb021SLiane Praza					<include_values type='values' />
8291f6eb021SLiane Praza				</choices>
8301f6eb021SLiane Praza			</prop_pattern>
8311f6eb021SLiane Praza
8321f6eb021SLiane Praza			<prop_pattern name='type' type='astring'
8331f6eb021SLiane Praza			    required='true'>
8341f6eb021SLiane Praza				<description>
8351f6eb021SLiane Praza					<loctext xml:lang='C'>
8361f6eb021SLiane PrazaA method may only be of type method.
8371f6eb021SLiane Praza					</loctext>
8381f6eb021SLiane Praza				</description>
8391f6eb021SLiane Praza				<cardinality min='1' max='1' />
8401f6eb021SLiane Praza				<constraints>
8411f6eb021SLiane Praza					<value name='method' />
8421f6eb021SLiane Praza				</constraints>
8431f6eb021SLiane Praza			</prop_pattern>
8441f6eb021SLiane Praza
8451f6eb021SLiane Praza			<prop_pattern name='timeout_seconds' type='count'
8461f6eb021SLiane Praza			    required='true'>
8471f6eb021SLiane Praza				<description>
8481f6eb021SLiane Praza					<loctext xml:lang='C'>
8491f6eb021SLiane PrazaNumber of seconds before the method is considered unresponsive.  After the method timeout expires, the method will be killed.
8501f6eb021SLiane Praza					</loctext>
8511f6eb021SLiane Praza				</description>
8521f6eb021SLiane Praza				<cardinality min='1' max='1' />
8531f6eb021SLiane Praza				<values>
8541f6eb021SLiane Praza					<value name='0'>
8551f6eb021SLiane Praza						<common_name>
8561f6eb021SLiane Praza							<loctext xml:lang='C'>
8571f6eb021SLiane Prazainfinite
8581f6eb021SLiane Praza							</loctext>
8591f6eb021SLiane Praza						</common_name>
8601f6eb021SLiane Praza						<description>
8611f6eb021SLiane Praza							<loctext xml:lang='C'>
8621f6eb021SLiane PrazaThis method will never time out.
8631f6eb021SLiane Praza							</loctext>
8641f6eb021SLiane Praza						</description>
8651f6eb021SLiane Praza					</value>
8661f6eb021SLiane Praza					<value name='-1'>
8671f6eb021SLiane Praza						<common_name>
8681f6eb021SLiane Praza							<loctext xml:lang='C'>
8691f6eb021SLiane Prazainfinite (legacy)
8701f6eb021SLiane Praza							</loctext>
8711f6eb021SLiane Praza						</common_name>
8721f6eb021SLiane Praza						<description>
8731f6eb021SLiane Praza							<loctext xml:lang='C'>
8741f6eb021SLiane PrazaThis method will never time out.  0 is the preferred value.
8751f6eb021SLiane Praza							</loctext>
8761f6eb021SLiane Praza						</description>
8771f6eb021SLiane Praza					</value>
8781f6eb021SLiane Praza				</values>
8791f6eb021SLiane Praza			</prop_pattern>
8801f6eb021SLiane Praza
8811f6eb021SLiane Praza			<!-- method_context direct properties -->
8821f6eb021SLiane Praza			<prop_pattern name='working_directory' type='astring'
8831f6eb021SLiane Praza			    required='false'>
8841f6eb021SLiane Praza				<description>
8851f6eb021SLiane Praza					<loctext xml:lang='C'>
8861f6eb021SLiane PrazaThe working directory to launch the method from.  ":default" can be used as a token to indicate the home directory of the user specified by the credential or profile.
8871f6eb021SLiane Praza
8881f6eb021SLiane Praza					</loctext>
8891f6eb021SLiane Praza				</description>
8901f6eb021SLiane Praza				<cardinality min='1' max='1' />
8911f6eb021SLiane Praza			</prop_pattern>
8921f6eb021SLiane Praza			<prop_pattern name='project' type='astring'
8931f6eb021SLiane Praza			    required='false'>
8941f6eb021SLiane Praza				<description>
8951f6eb021SLiane Praza					<loctext xml:lang='C'>
8961f6eb021SLiane PrazaThe project ID in numeric or text form.  :default can be used as a token to indicate a project identified by getdefaultproj(3PROJECT) for the user whose uid is used to launch the method.
8971f6eb021SLiane Praza					</loctext>
8981f6eb021SLiane Praza				</description>
8991f6eb021SLiane Praza				<cardinality min='1' max='1' />
9001f6eb021SLiane Praza			</prop_pattern>
9011f6eb021SLiane Praza			<prop_pattern name='resource_pool' type='astring'
9021f6eb021SLiane Praza			    required='false'>
9031f6eb021SLiane Praza				<common_name>
9041f6eb021SLiane Praza					<loctext xml:lang='C'>
9051f6eb021SLiane Prazamethod context resource pool
9061f6eb021SLiane Praza					</loctext>
9071f6eb021SLiane Praza				</common_name>
9081f6eb021SLiane Praza				<description>
9091f6eb021SLiane Praza					<loctext xml:lang='C'>
9101f6eb021SLiane PrazaThe resource pool name on which to launch the method.  :default can be used
911*bbf21555SRichard Loweas a token to indicate the pool specified in the project(5) entry given in
9121f6eb021SLiane Prazathe project attribute.
9131f6eb021SLiane Praza					</loctext>
9141f6eb021SLiane Praza				</description>
9151f6eb021SLiane Praza				<cardinality min='1' max='1' />
9161f6eb021SLiane Praza			</prop_pattern>
9171f6eb021SLiane Praza
9181f6eb021SLiane Praza			<!-- method_credential properties -->
9191f6eb021SLiane Praza			<prop_pattern name='user' type='astring'
9201f6eb021SLiane Praza			    required='false'>
9211f6eb021SLiane Praza				<common_name>
9221f6eb021SLiane Praza					<loctext xml:lang='C'>
9231f6eb021SLiane Prazamethod credential user
9241f6eb021SLiane Praza					</loctext>
9251f6eb021SLiane Praza				</common_name>
9261f6eb021SLiane Praza				<description>
9271f6eb021SLiane Praza					<loctext xml:lang='C'>
9281f6eb021SLiane PrazaThe user ID in numeric or text form.
9291f6eb021SLiane Praza					</loctext>
9301f6eb021SLiane Praza				</description>
9311f6eb021SLiane Praza				<cardinality min='1' max='1' />
9321f6eb021SLiane Praza			</prop_pattern>
9331f6eb021SLiane Praza			<prop_pattern name='group' type='astring'
9341f6eb021SLiane Praza			    required='false'>
9351f6eb021SLiane Praza				<common_name>
9361f6eb021SLiane Praza					<loctext xml:lang='C'>
9371f6eb021SLiane Prazamethod credential group
9381f6eb021SLiane Praza					</loctext>
9391f6eb021SLiane Praza				</common_name>
9401f6eb021SLiane Praza				<description>
9411f6eb021SLiane Praza					<loctext xml:lang='C'>
9421f6eb021SLiane PrazaThe group ID in numeric or text form.
9431f6eb021SLiane Praza					</loctext>
9441f6eb021SLiane Praza				</description>
9451f6eb021SLiane Praza				<cardinality min='1' max='1' />
9461f6eb021SLiane Praza			</prop_pattern>
9471f6eb021SLiane Praza			<prop_pattern name='supp_groups' type='astring'
9481f6eb021SLiane Praza			    required='false'>
9491f6eb021SLiane Praza				<common_name>
9501f6eb021SLiane Praza					<loctext xml:lang='C'>
9511f6eb021