opengrok.xml revision 964
680N/A<?xml version="1.0"?>
680N/A<!--
680N/ACDDL HEADER START
680N/A
680N/AThe contents of this file are subject to the terms of the
680N/ACommon Development and Distribution License (the "License").
680N/AYou may not use this file except in compliance with the License.
680N/A
680N/AYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
680N/Aor http://www.opensolaris.org/os/licensing.
680N/ASee the License for the specific language governing permissions
680N/Aand limitations under the License.
680N/A
680N/AWhen distributing Covered Code, include this CDDL HEADER in each
680N/Afile and include the License file at usr/src/OPENSOLARIS.LICENSE.
680N/AIf applicable, add the following below this CDDL HEADER, with the
680N/Afields enclosed by brackets "[]" replaced with your own identifying
680N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
680N/A
680N/ACDDL HEADER END
680N/A
964N/ACopyright 2010 Sun Microsystems, Inc. All rights reserved.
680N/AUse is subject to license terms.
680N/A
680N/A-->
680N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
680N/A<service_bundle type="manifest" name="opengrok">
964N/A<service
964N/A name="application/opengrok"
964N/A type="service"
964N/A version="1">
964N/A
964N/A <single_instance />
964N/A
964N/A <dependency
964N/A name="filesystem"
964N/A grouping="require_all"
964N/A restart_on="none"
964N/A type="service">
964N/A <service_fmri value="svc:/system/filesystem/local:default" />
964N/A </dependency>
680N/A
964N/A <dependency
964N/A name="network"
964N/A grouping="require_all"
964N/A restart_on="none"
964N/A type="service">
964N/A <service_fmri value="svc:/milestone/network:default" />
964N/A </dependency>
964N/A
964N/A <dependency
964N/A name="autofs"
964N/A grouping="require_all"
964N/A restart_on="none"
964N/A type="service">
964N/A <service_fmri value="svc:/system/filesystem/autofs:default" />
964N/A </dependency>
964N/A
964N/A <dependency
964N/A name="tomcat"
964N/A grouping="require_all"
964N/A restart_on="none"
964N/A type="service">
964N/A <service_fmri value="svc:/network/http:tomcat6" />
964N/A </dependency>
680N/A
964N/A <property_group
964N/A name="opengrok"
964N/A type="application">
964N/A <propval
964N/A name="maxmemory"
964N/A type="astring"
964N/A value="256" />
964N/A <propval
964N/A name="verbose"
964N/A type="boolean"
964N/A value="true" />
964N/A <propval
964N/A name="srcdir"
964N/A type="astring"
964N/A value="none" />
964N/A <propval
964N/A name="cachedir"
964N/A type="astring"
964N/A value="/var/opengrok/data" />
964N/A <propval
964N/A name="default_params"
964N/A type="astring"
964N/A value="-P -S -r on -c /usr/bin/exctags" />
964N/A <propval
964N/A name="java_extra_params"
964N/A type="astring"
964N/A value="" />
964N/A <propval
964N/A name="extra_params"
964N/A type="astring"
964N/A value="" />
964N/A <propval
964N/A name="readonly_config"
964N/A type="astring"
964N/A value="/etc/opengrok/readonly_configuration.xml" />
964N/A </property_group>
680N/A
964N/A <instance
964N/A name="default"
964N/A enabled="false">
964N/A <exec_method
964N/A type="method"
964N/A name="start"
964N/A exec="/lib/svc/method/svc-opengrok start"
964N/A timeout_seconds="30" >
964N/A <method_context>
964N/A <method_credential
964N/A user="webservd"
964N/A group="webservd" />
964N/A </method_context>
964N/A </exec_method>
964N/A <exec_method
964N/A type="method"
964N/A name="stop"
964N/A exec="/lib/svc/method/svc-opengrok stop %{restarter/contract}"
964N/A timeout_seconds="60" >
964N/A <method_context>
964N/A <method_credential
964N/A user="webservd"
964N/A group="webservd" />
964N/A </method_context>
964N/A </exec_method>
680N/A
964N/A <exec_method
964N/A type='method'
964N/A name='refresh'
964N/A exec='/lib/svc/method/svc-opengrok refresh'
964N/A timeout_seconds='60' >
964N/A <method_context>
964N/A <method_credential
964N/A user="webservd"
964N/A group="webservd" />
964N/A </method_context>
964N/A </exec_method>
964N/A </instance>
964N/A
964N/A <stability value="Unstable" />
964N/A <template>
964N/A <common_name>
964N/A <loctext xml:lang="C">
964N/A Opengrok application server
964N/A </loctext>
964N/A </common_name>
964N/A <documentation>
964N/A <manpage
964N/A title="opengrok"
964N/A section="1"
964N/A manpath="/usr/opengrok/man" />
964N/A </documentation>
964N/A </template>
964N/A</service>
680N/A</service_bundle>