|
1 <?xml version="1.0"?> |
|
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
3 <!-- |
|
4 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
|
5 Use is subject to license terms. |
|
6 |
|
7 Permission is hereby granted, free of charge, to any person obtaining a |
|
8 copy of this software and associated documentation files (the |
|
9 "Software"), to deal in the Software without restriction, including |
|
10 without limitation the rights to use, copy, modify, merge, publish, |
|
11 distribute, and/or sell copies of the Software, and to permit persons |
|
12 to whom the Software is furnished to do so, provided that the above |
|
13 copyright notice(s) and this permission notice appear in all copies of |
|
14 the Software and that both the above copyright notice(s) and this |
|
15 permission notice appear in supporting documentation. |
|
16 |
|
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
18 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
19 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
|
20 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
21 HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
|
22 INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
|
23 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
|
24 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
|
25 WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
26 |
|
27 Except as contained in this notice, the name of a copyright holder |
|
28 shall not be used in advertising or otherwise to promote the sale, use |
|
29 or other dealings in this Software without prior written authorization |
|
30 of the copyright holder. |
|
31 |
|
32 Service manifest to update the xml catalog after installing the docbook |
|
33 stylesheets |
|
34 --> |
|
35 |
|
36 <service_bundle type='manifest' name='SUNWgnome-xml:docbook-style-dsssl-update'> |
|
37 |
|
38 <service |
|
39 name='application/desktop-cache/docbook-style-dsssl-update' |
|
40 type='service' |
|
41 version='1'> |
|
42 |
|
43 <create_default_instance enabled='true' /> |
|
44 |
|
45 <single_instance /> |
|
46 |
|
47 <!-- Need / & /usr filesystems mounted, /var mounted read/write --> |
|
48 <dependency |
|
49 name='usr' |
|
50 type='service' |
|
51 grouping='require_all' |
|
52 restart_on='none'> |
|
53 <service_fmri value='svc:/system/filesystem/minimal' /> |
|
54 </dependency> |
|
55 |
|
56 <exec_method |
|
57 type='method' |
|
58 name='start' |
|
59 exec='/lib/svc/method/docbook-style-dsssl-update.sh %m' |
|
60 timeout_seconds='600'> |
|
61 <method_context> |
|
62 <method_credential user='root' group='root' /> |
|
63 </method_context> |
|
64 </exec_method> |
|
65 |
|
66 <exec_method |
|
67 type='method' |
|
68 name='refresh' |
|
69 exec='/lib/svc/method/docbook-style-dsssl-update.sh %m' |
|
70 timeout_seconds='600'> |
|
71 <method_context> |
|
72 <method_credential user='root' group='root' /> |
|
73 </method_context> |
|
74 </exec_method> |
|
75 |
|
76 <exec_method |
|
77 type='method' |
|
78 name='stop' |
|
79 exec=':true' |
|
80 timeout_seconds='60' /> |
|
81 |
|
82 <property_group name='startd' type='framework'> |
|
83 <propval name='duration' type='astring' |
|
84 value='transient' /> |
|
85 </property_group> |
|
86 |
|
87 <stability value='Evolving' /> |
|
88 |
|
89 <template> |
|
90 <common_name> |
|
91 <loctext xml:lang='C'>docbook style dsssl registration |
|
92 </loctext> |
|
93 </common_name> |
|
94 |
|
95 <documentation> |
|
96 <manpage |
|
97 title='xmlcatalog' |
|
98 section='1' |
|
99 manpath='/usr/share/man' /> |
|
100 </documentation> |
|
101 </template> |
|
102 </service> |
|
103 |
|
104 </service_bundle> |