components/docbook/dsssl/files/docbook-style-dsssl-update.xml
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 03 Oct 2016 13:11:10 -0700
changeset 7040 ef2f53357ebd
permissions -rw-r--r--
23245465 Move docbook-style-dsssl 1.79 to Userland PSARC/2010/143 GNOME 2.30

<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
    Copyright (c) 2011, Oracle and/or its affiliates. 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.

    Service manifest to update the xml catalog after installing the docbook
    stylesheets
-->

<service_bundle type='manifest' name='SUNWgnome-xml:docbook-style-dsssl-update'>

<service
	name='application/desktop-cache/docbook-style-dsssl-update'
	type='service'
	version='1'>

	<create_default_instance enabled='true' />

	<single_instance />

	<!-- Need / & /usr filesystems mounted, /var mounted read/write -->
	<dependency
		name='usr'
		type='service'
		grouping='require_all'
		restart_on='none'>
		<service_fmri value='svc:/system/filesystem/minimal' />
	</dependency>

	<exec_method
		type='method'
		name='start'
		exec='/lib/svc/method/docbook-style-dsssl-update.sh %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/docbook-style-dsssl-update.sh %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'>docbook style dsssl registration
				</loctext>
		</common_name>

		<documentation>
			<manpage
				title='xmlcatalog'
				section='1'
				manpath='/usr/share/man' />
		</documentation>
	</template>
</service>

</service_bundle>