Christine Tran writes:
> lianep at eng.sun.com wrote On 07/12/06 14:36,:
> > Christine Tran writes:
> >>I made a manifest for TeamQuest.  It is attached.

Liane Praza, Solaris Kernel Development
liane.praza at sun.com - http://blogs.sun.com/lianep
> > 
> > Cool!  I'll link it on the manifests page.
> 
> I also sent it to the TeamQuest guys, so it may show up later (from 
> them) in application.

Nice.

(With Christine's permission, I've fixed up the header to include the 
CDDL.  I'm re-attaching here as her original attachment seems to be 
lost on the forums too.  Maybe that's because it was text/xml rather than 
text/plain -- I'm validating this works and checking with the website guys.)

liane

-------------- next part --------------
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
    CDDL HEADER START

    The contents of this file are subject to the terms of the
    Common Development and Distribution License (the "License").
    You may not use this file except in compliance with the License.

    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    or http://www.opensolaris.org/os/licensing.
    See the License for the specific language governing permissions
    and limitations under the License.

    When distributing Covered Code, include this CDDL HEADER in each
    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
    If applicable, add the following below this CDDL HEADER, with the
    fields enclosed by brackets "[]" replaced with your own identifying
    information: Portions Copyright [yyyy] [name of copyright owner]

    CDDL HEADER END

    Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.

    NOTE:  This service manifest is not editable; its contents will
    be overwritten by package or patch operations, including
    operating system upgrade.  Make customizations in a different
    file.
-->

<service_bundle type='manifest' name='TeamQuest'>

<service
    name='site/teamquest'
    type='service'
    version='1'>

        <single_instance />

        <dependency
            name='fs-local'
            grouping='require_all'
            restart_on='none'
            type='service'>
                <service_fmri value='svc:/system/filesystem/local' />
        </dependency>

        <dependency
            name='filesystem'
            grouping='require_all'
            restart_on='none'
            type='service'>
                <service_fmri value='svc:/system/filesystem/usr'/>
        </dependency>

        <exec_method
            type='method'
            name='start'
            exec='/etc/init.d/tqmgr start'
            timeout_seconds='60' />

        <exec_method
            type='method'
            name='stop'
            exec='/etc/init.d/tqmgr stop'
            timeout_seconds='60' />

        <instance name='default' enabled='false' />

        <stability value='Unstable' />

        <template>
                <common_name>
                        <loctext xml:lang='C'>
                                TeamQuest 9.2
                        </loctext>
                </common_name>
                <documentation>
                        <doc_link name='TeamQuest'
                                
uri='http://www.teamquest.com/resources/literature/index.htm' />
                </documentation>
        </template>
</service>

</service_bundle>

Reply via email to