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.
e7b21c8124ec55ffacc49c1e28a8685834715484Lubos KoscoSee LICENSE.txt included in this distribution for the specific
e7b21c8124ec55ffacc49c1e28a8685834715484Lubos Koscolanguage governing permissions and 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 />
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye name="filesystem-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>
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <property_group name="general" type="framework">
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <propval name="action_authorization" type="astring" value="solaris.smf.manage.opengrok" />
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <propval name="value_authorization" type="astring" value="solaris.smf.value.opengrok" />
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye </property_group>
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <property_group name="opengrok" type="application">
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <propval name="value_authorization" type="astring"
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye <propval name="action_authorization" type="astring"
e4350c80ac87daff507a362198df9565c80181a0Trond Norbye </property_group>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <exec_method
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye type="method"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye name="start"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye timeout_seconds="0">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <method_context>
17f7a726257a765a16e547746779e24f8500f6e3Trond Norbye <!-- Specify the user and the group the indexing service
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye should run as -->
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 -->
2e3888b9e322264fa8a5bd5c8b52df231f2eededTrond Norbye <!-- The name of the various SCM tools to use -->
2e3888b9e322264fa8a5bd5c8b52df231f2eededTrond Norbye <envvar name="SUBVERSION" value="/usr/bin/svn"/>
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. -->
2e3888b9e322264fa8a5bd5c8b52df231f2eededTrond Norbye <envvar name="ADMINISTRATOR" value="root@localhost"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <!-- The current version of the Mercurial log parser
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye expects C date format. -->
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>