components/trousers/tcsd.xml
branchs11-sru
changeset 2391 811524a2620b
parent 401 bf52ef48020c
child 1186 447cb9b2ff93
equal deleted inserted replaced
2390:5b1bfaf90eeb 2391:811524a2620b
    19  fields enclosed by brackets "[]" replaced with your own identifying
    19  fields enclosed by brackets "[]" replaced with your own identifying
    20  information: Portions Copyright [yyyy] [name of copyright owner]
    20  information: Portions Copyright [yyyy] [name of copyright owner]
    21 
    21 
    22  CDDL HEADER END
    22  CDDL HEADER END
    23 
    23 
    24  Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
    24  Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
    25 
    25 
    26         NOTE:  This service manifest is not editable; its contents will
    26         NOTE:  This service manifest is not editable; its contents will
    27         be overwritten by package or patch operations, including
    27         be overwritten by package or patch operations, including
    28         operating system upgrade.  Make customizations in a different
    28         operating system upgrade.  Make customizations in a different
    29         file.
    29         file.
    36         type='service'
    36         type='service'
    37         version='1'>
    37         version='1'>
    38 
    38 
    39 	<create_default_instance enabled='false' />
    39 	<create_default_instance enabled='false' />
    40 	<single_instance/>
    40 	<single_instance/>
    41 	<!--
       
    42 	   Wait for network interfaces to be initialized.
       
    43 	-->
       
    44         <dependency
       
    45                 name='network'
       
    46                 grouping='require_all'
       
    47                 restart_on='none'
       
    48                 type='service'>
       
    49                 <service_fmri value='svc:/milestone/network:default' />
       
    50         </dependency> 
       
    51 
    41 
    52 	<!--
    42 	<!-- Wait for network interfaces to be initialized. -->
    53 	   Wait for all local filesystems to be mounted.
    43 	<dependency
    54 	-->
    44 		name='network'
       
    45 		grouping='require_all'
       
    46 		restart_on='none'
       
    47 		type='service'>
       
    48 		<service_fmri value='svc:/milestone/network:default' />
       
    49 	</dependency>
       
    50 
       
    51 	<!-- Need / & /usr filesystems mounted, /var mounted read/write -->
       
    52 	<dependency
       
    53 		name='filesystem'
       
    54 		grouping='require_all'
       
    55 		restart_on='none'
       
    56 		type='service'>
       
    57 		<service_fmri value='svc:/system/filesystem/minimal' />
       
    58 	</dependency>
       
    59 
    55         <exec_method
    60         <exec_method
    56                 type='method'
    61                 type='method'
    57                 name='stop'
    62                 name='stop'
    58                 exec='/lib/svc/method/tcsd.sh stop'
    63                 exec='/lib/svc/method/tcsd.sh stop'
    59                 timeout_seconds='60'>
    64                 timeout_seconds='60'>
    75 	<property_group name='general' type='framework'>
    80 	<property_group name='general' type='framework'>
    76 		<propval name='action_authorization' type='astring'
    81 		<propval name='action_authorization' type='astring'
    77 			value='solaris.smf.manage.tcsd' />
    82 			value='solaris.smf.manage.tcsd' />
    78 		<propval name='value_authorization' type='astring'
    83 		<propval name='value_authorization' type='astring'
    79 			value='solaris.smf.manage.tcsd' />
    84 			value='solaris.smf.manage.tcsd' />
    80         </property_group>
    85 	</property_group>
    81 
       
    82 
    86 
    83 	<property_group name='config' type='application'>
    87 	<property_group name='config' type='application'>
    84 		<propval
    88 		<propval
    85 			name='local_only'
    89 			name='local_only'
    86 			type='boolean'
    90 			type='boolean'
    89 			name='value_authorization'
    93 			name='value_authorization'
    90 			type='astring'
    94 			type='astring'
    91 			value='solaris.smf.value.tcsd' />
    95 			value='solaris.smf.value.tcsd' />
    92 	</property_group>
    96 	</property_group>
    93 
    97 
    94         <stability value='Unstable' />
    98 	<stability value='Unstable' />
    95 
    99 
    96         <template>
   100 	<template>
    97                 <common_name>
   101 		<common_name>
    98                         <loctext xml:lang='C'>
   102 			<loctext xml:lang='C'>
    99                                 TCS Daemon
   103 				TCS Daemon
   100                         </loctext>
   104 			</loctext>
   101                 </common_name>
   105 		</common_name>
   102                 <documentation>
   106 		<documentation>
   103                         <manpage title='tcsd' section='8' />
   107 			<manpage title='tcsd' section='8' />
   104                 </documentation>
   108 		</documentation>
   105         </template>
   109 	</template>
   106 </service>
   110 </service>
   107 </service_bundle>
   111 </service_bundle>