usr/src/cmd/rad/daemon/rad-test.xml
author devjani.ray@oracle.com <devjani.ray@oracle.com>
Thu, 02 Feb 2012 11:25:01 -0500
changeset 798 a7deccd6492f
parent 766 46dbc6163ccd
child 817 a1315f6ad037
permissions -rw-r--r--
CR 7121230 Rad unix transport paths should be created under /system/volatile/rad/

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
 Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.

 CDDL HEADER START

  The contents of this file are subject to the terms of the
  Common Development and Distribution License (the "License").
  You may not use this file except in compliance with the License.
 
  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  or http://www.opensolaris.org/os/licensing.
  See the License for the specific language governing permissions
  and limitations under the License.
 
  When distributing Covered Code, include this CDDL HEADER in each
  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  If applicable, add the following below this CDDL HEADER, with the
  fields enclosed by brackets "[]" replaced with your own identifying
  information: Portions Copyright [yyyy] [name of copyright owner]

 CDDL HEADER END

    NOTE:  This service manifest is not editable; its contents will
    be overwritten by package or patch operations, including
    operating system upgrade.  Make customizations in a different
    file.
-->

<service_bundle type='manifest' name='system/management/rad'>

<service name='system/rad' type='service' version='1'>

	<instance name='test' enabled='false'>
		<dependency
		    name='rad-conv-test'
		    grouping='optional_all'
		    restart_on='none'
		    type='service'>
			<service_fmri value='svc:/system/rad-conv-test' />
		</dependency>

		<property_group name='config' type='application'>
			<property name='moduledir' type='astring'>
				<astring_list>
					<value_node
					    value='/usr/lib/rad/transport' />
					<value_node
					    value='/usr/lib/rad/protocol' />
					<value_node
					    value='/usr/lib/rad/module' />
				</astring_list>
			</property>
			<propval name='debug' type='boolean' value='false' />
			<propval name='timeout' type='integer' value='3' />
			<propval name='pam_service' type='astring'
			    value='radtest' />
		</property_group>

		<property_group name='local_port' type='xport_unix'>
			<propval name='proto' type='astring' value='rad' />
			<propval name='path' type='astring'
			    value='/system/volatile/rad/test-radsocket' />
			<propval name='peercred' type='boolean' value='true' />
		</property_group>

		<property_group name='local_port_unauth' type='xport_unix'>
			<propval name='proto' type='astring' value='rad' />
			<propval name='path' type='astring'
			    value='/system/volatile/rad/test-radsocket-unauth' />
			<propval name='peercred' type='boolean' value='false' />
		</property_group>

		<template>
			<common_name>
				<loctext xml:lang='C'>
Remote Administration Daemon (Test Version)
				</loctext>
			</common_name>
		</template>
	</instance>

        <stability value='Unstable' />

</service>

</service_bundle>