add python/ipaddress-1.0.18
[unleashed-userland.git] / components / trousers / tcsd.xml
blob4c4b9d6e8dffc7e48357678457b4d199b371fa20
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
5  CDDL HEADER START
7  The contents of this file are subject to the terms of the
8  Common Development and Distribution License (the "License").
9  You may not use this file except in compliance with the License.
11  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12  or http://www.opensolaris.org/os/licensing.
13  See the License for the specific language governing permissions
14  and limitations under the License.
16  When distributing Covered Code, include this CDDL HEADER in each
17  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18  If applicable, add the following below this CDDL HEADER, with the
19  fields enclosed by brackets "[]" replaced with your own identifying
20  information: Portions Copyright [yyyy] [name of copyright owner]
22  CDDL HEADER END
24  Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
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 -->
32 <service_bundle type='manifest' name='tcsd'>
34 <service
35         name='application/security/tcsd'
36         type='service'
37         version='1'>
39         <create_default_instance enabled='false' />
40         <single_instance/>
41                         <!-- Wait for network interfaces to be initialized. -->
42         <dependency
43                 name='network'
44                 grouping='require_all'
45                 restart_on='none'
46                 type='service'>
47                 <service_fmri value='svc:/milestone/network:default' />
48         </dependency> 
50         <!-- Need / & /usr filesystems mounted, /var mounted read/write -->
51         <dependency
52                 name='filesystem'
53                 grouping='require_all'
54                 restart_on='none'
55                 type='service'>
56                 <service_fmri value='svc:/system/filesystem/minimal' />
57         </dependency>
59         <exec_method
60                 type='method'
61                 name='stop'
62                 exec='/lib/svc/method/tcsd.sh stop'
63                 timeout_seconds='60'>
64                 <method_context>
65                         <method_credential user='root' group='sys' />
66                 </method_context>
67         </exec_method>
69         <exec_method
70                 type='method'
71                 name='start'
72                 exec='/lib/svc/method/tcsd.sh start'
73                 timeout_seconds='60'>
74                 <method_context>
75                         <method_credential user='root' group='sys' />
76                 </method_context>
77         </exec_method>
79         <property_group name='general' type='framework'>
80                 <propval name='action_authorization' type='astring'
81                         value='solaris.smf.manage.tcsd' />
82                 <propval name='value_authorization' type='astring'
83                         value='solaris.smf.manage.tcsd' />
84         </property_group>
87 <property_group name='config' type='application'>
88                 <propval
89                         name='local_only'
90                         type='boolean'
91                         value='true' />
92                 <propval
93                         name='value_authorization'
94                         type='astring'
95                         value='solaris.smf.value.tcsd' />
96         </property_group>
98         <stability value='Unstable' />
100         <template>
101                 <common_name>
102                         <loctext xml:lang='C'>
103                                 TCS Daemon
104                         </loctext>
105                 </common_name>
106                 <documentation>
107                         <manpage title='tcsd' section='8' />
108                 </documentation>
109         </template>
110 </service>
111 </service_bundle>