1<?xml version="1.0"?>
2
3<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25<service_bundle type="manifest" name="ooo_bundled_extensions">
26
27<service
28   name="application/ooo_bundled_extensions"
29   type="service"
30   version="1">
31
32  <create_default_instance enabled="true" />
33  <single_instance/>
34
35  <dependency name="service_available"
36	      grouping="require_all"
37	      restart_on="none"
38	      type="service">
39    <service_fmri value="svc:/system/filesystem/local:default" />
40  </dependency>
41
42  <exec_method
43     type="method" name="start"
44     exec="/lib/svc/method/svc-ooo_bundled_extensions start"
45     timeout_seconds="160">
46    <method_context>
47      <method_credential user="root" group="root" />
48    </method_context>
49  </exec_method>
50
51
52  <exec_method
53     type="method" name="stop"
54     exec="/lib/svc/method/svc-ooo_bundled_extensions stop"
55     timeout_seconds="160" >
56    <method_context>
57      <method_credential user="root" group="root" />
58    </method_context>
59  </exec_method>
60
61  <property_group name="startd" type="framework">
62    <propval name="duration" type="astring"
63	     value="transient" />
64    <propval name="ignore_error"
65	     type="astring" value="core,signal" />
66
67  </property_group>
68
69  <stability value="Unstable" />
70
71  <template>
72    <common_name>
73      <loctext xml:lang="C">
74	Installation of OpenOffice.org's bundled extensions.
75      </loctext>
76    </common_name>
77  </template>
78</service>
79
80</service_bundle>
81