2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice (including the next
14 paragraph) shall be included in all copies or substantial portions of the
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 DEALINGS IN THE SOFTWARE.
26 Service manifest for ensuring fontconfig caches are up to date.
29 <service_bundle type='manifest' name='SUNWfontconfig-root:fc-cache'>
32 name='application/font/fc-cache'
36 <create_default_instance enabled='true' />
40 <!-- Need / & /usr filesystems mounted readable,
41 /var/cache mounted read/write -->
45 grouping='require_all'
47 <service_fmri value='svc:/system/filesystem/minimal' />
52 grouping='require_all'
55 <service_fmri value='file://localhost/etc/fonts/fonts.conf' />
60 grouping='require_all'
63 <service_fmri value='file://localhost/usr/bin/fc-cache' />
69 exec='/lib/svc/method/fc-cache %m'
70 timeout_seconds='3600'>
72 <method_credential user='root' group='root' />
80 timeout_seconds='60' />
82 <property_group name='startd' type='framework'>
83 <propval name='duration' type='astring'
87 <property_group name='general' type='framework'>
88 <!-- manage server state -->
89 <propval name='action_authorization' type='astring'
90 value='solaris.smf.manage.font' />
93 <property_group name='options' type='application'>
94 <stability value='Unstable' />
95 <propval name='force_rebuild' type='boolean'
99 <stability value='Evolving' />
103 <loctext xml:lang='C'>FontConfig Cache Builder
111 manpath='/usr/share/man' />