fc-cache.xml revision 568
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, provided that the above
copyright notice(s) and this permission notice appear in all copies of
the Software and that both the above copyright notice(s) and this
permission notice appear in supporting documentation.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale, use
or other dealings in this Software without prior written authorization
of the copyright holder.
ident "@(#)fc-cache.xml 1.5 08/10/21 SMI"
Service manifest for ensuring fontconfig caches are up to date.
-->
<service_bundle type='manifest' name='SUNWfontconfig-root:fc-cache'>
<service
name='application/font/fc-cache'
type='service'
version='1'>
<create_default_instance enabled='true' />
<single_instance />
<dependency
name='usr'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/filesystem/local' />
</dependency>
<dependency
name='config-file'
grouping='require_all'
restart_on='refresh'
type='path'>
<service_fmri value='file://localhost/etc/fonts/fonts.conf' />
</dependency>
<dependency
name='fc-cache'
grouping='require_all'
restart_on='none'
type='path'>
<service_fmri value='file://localhost/usr/bin/fc-cache' />
</dependency>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/fc-cache %m'
timeout_seconds='3600'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<exec_method
type='method'
name='stop'
exec=':true'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring'
value='transient' />
</property_group>
<property_group name='general' type='framework'>
<!-- manage server state -->
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.font' />
</property_group>
<property_group name='options' type='application'>
<stability value='Unstable' />
<propval name='force_rebuild' type='boolean'
value='false' />
</property_group>
<stability value='Evolving' />
<template>
<common_name>
<loctext xml:lang='C'>FontConfig Cache Builder
</loctext>
</common_name>
<documentation>
<manpage
title='fc-cache'
section='1M'
manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>