icon-cache.xml revision 5887
<?xml version="1.0"?>
<!--
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,
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.
Service manifest for ensuring gtk icon caches are up to date.
-->
<service_bundle type='manifest' name='SUNWdesktop-cache:icon-cache'>
<service
name='application/desktop-cache/icon-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/minimal' />
</dependency>
<!-- Need pixbuf-loaders installed before running -->
<dependency
name='pixbuf-loaders'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/application/desktop-cache/pixbuf-loaders-installer' />
</dependency>
<dependent
name='icon_cache-assembly-complete'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/self-assembly-complete' />
</dependent>
<!-- Need to be run before gdm is started -->
<dependent
name='icon-cache_gdm'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/application/graphical-login/gdm' />
</dependent>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/icon-cache %m'
timeout_seconds='600'>
<method_context>
<method_credential user='root' group='root' />
</method_context>
</exec_method>
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/icon-cache %m'
timeout_seconds='600'>
<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>
<stability value='Evolving' />
<template>
<common_name>
<loctext xml:lang='C'>Gtk Icon Cache Builder
</loctext>
</common_name>
<documentation>
<manpage
title='gtk-update-icon-cache'
section='1'
</documentation>
</template>
</service>
</service_bundle>