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