|
1 <?xml version="1.0"?> |
|
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
3 <!-- |
|
4 Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
|
5 |
|
6 CDDL HEADER START |
|
7 |
|
8 The contents of this file are subject to the terms of the |
|
9 Common Development and Distribution License (the "License"). |
|
10 You may not use this file except in compliance with the License. |
|
11 |
|
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
13 or http://www.opensolaris.org/os/licensing. |
|
14 See the License for the specific language governing permissions |
|
15 and limitations under the License. |
|
16 |
|
17 When distributing Covered Code, include this CDDL HEADER in each |
|
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
19 If applicable, add the following below this CDDL HEADER, with the |
|
20 fields enclosed by brackets "[]" replaced with your own identifying |
|
21 information: Portions Copyright [yyyy] [name of copyright owner] |
|
22 |
|
23 CDDL HEADER END |
|
24 |
|
25 NOTE: This service manifest is not editable; its contents will |
|
26 be overwritten by package or patch operations, including |
|
27 operating system upgrade. Make customizations in a different |
|
28 file. |
|
29 --> |
|
30 |
|
31 <service_bundle type='manifest' name='pcsc'> |
|
32 |
|
33 <service |
|
34 name='application/security/pcsc' |
|
35 type='service' |
|
36 version='1'> |
|
37 |
|
38 <create_default_instance enabled='false' /> |
|
39 <single_instance/> |
|
40 |
|
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> |
|
49 |
|
50 <!-- need / and /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> |
|
58 |
|
59 <exec_method |
|
60 type='method' |
|
61 name='start' |
|
62 exec='/lib/svc/method/svc-pcscd start' |
|
63 timeout_seconds='60'> |
|
64 <method_context> |
|
65 <method_credential user='root' group='root' /> |
|
66 </method_context> |
|
67 </exec_method> |
|
68 |
|
69 <exec_method |
|
70 type='method' |
|
71 name='stop' |
|
72 exec=':kill' |
|
73 timeout_seconds='60'> |
|
74 <method_context> |
|
75 <method_credential user='root' group='root' /> |
|
76 </method_context> |
|
77 </exec_method> |
|
78 |
|
79 <exec_method |
|
80 type='method' |
|
81 name='restart' |
|
82 exec='/lib/svc/method/svc-pcscd restart' |
|
83 timeout_seconds='60'> |
|
84 <method_context> |
|
85 <method_credential user='root' group='root' /> |
|
86 </method_context> |
|
87 </exec_method> |
|
88 |
|
89 <stability value='Unstable' /> |
|
90 |
|
91 <template> |
|
92 <common_name> |
|
93 <loctext xml:lang='C'> |
|
94 PCSC Lite Resource Manager |
|
95 </loctext> |
|
96 </common_name> |
|
97 </template> |
|
98 </service> |
|
99 |
|
100 </service_bundle> |