opengrok.xml revision 96c1ae30d032621b47c4ac375b151ddaef5f1507
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCDDL HEADER START
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeThe contents of this file are subject to the terms of the
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCommon Development and Distribution License (the "License").
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeYou may not use this file except in compliance with the License.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeSee the License for the specific language governing permissions
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyeand limitations under the License.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyefile and include the License file at usr/src/OPENSOLARIS.LICENSE.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyeinformation: Portions Copyright [yyyy] [name of copyright owner]
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCDDL HEADER END
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye Copyright 2007 Sun Microsystems, Inc. All rights reserved.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye Use is subject to license terms.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye<service_bundle type="manifest" name="OSOLopengrok:opengrok">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <service name="application/opengrok" type="service" version="1">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <single_instance />
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="fs-local"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye grouping="require_all"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye restart_on="none"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="service">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <service_fmri value="svc:/system/filesystem/local" />
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </dependency>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="network-service"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye grouping="require_all"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye restart_on="none"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="service">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </dependency>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="name-services"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye grouping="require_all"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye restart_on="refresh"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="service">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <service_fmri value="svc:/milestone/name-services" />
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </dependency>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="identity"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye grouping="optional_all"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye restart_on="refresh"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="service">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <service_fmri value="svc:/system/identity:domain" />
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </dependency>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <property_group
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="startd"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="framework">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <propval name="duration" type="astring" value="child" />
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </property_group>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <exec_method
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="method"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="start"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye timeout_seconds="0">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <method_context>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <-- Specify the user and the group the indexing service
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <method_credential user="opengrok" group="opengrok"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <method_environment>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The root direction of this opengrok
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye installation -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- How often should the source be updated (in
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye seconds) -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The Java version to use -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="JAVA_HOME" value="/usr/jdk/latest"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The path needed -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The name og the various SCM tools to use -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="SUBVERSION" value="/opt/csw/bin/svn"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="MERCURIAL" value="/opt/csw/bin/hg"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The name of the web servers that should be
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye notified with the information of the active
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye configuration to use. Specify them with
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye hostname:port and separate multiple hosts by space.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye ex: value="server1:2424 server2:2424" -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="WEBSERVERS" value="localhost:2424"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The email address to send an email if the
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye source update fails, or a fatal error occurs while
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye the index database is beeing updated. -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="ADMINISTRATOR" value="trond.norbye@sun.com"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The current version of the Mercurial log parser
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye expects C date format. -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- Additional libraries to look for libraries in.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye (Subversions java binding etc) -->
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <envvar name="LD_LIBRARY_PATH" value="/opt/csw/lib/svn"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </method_environment>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </method_context>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </exec_method>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <exec_method
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="method"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye exec=":kill"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye timeout_seconds="-1">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </exec_method>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <common_name>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <loctext xml:lang="C">OpenGrok indexing service</loctext>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye </common_name>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye</service_bundle>