opengrok.xml revision 680
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
680N/ACopyright 2008 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">
680N/A <service name="application/servers/opengrok" type="service" version="1">
680N/A <single_instance/>
680N/A
680N/A <dependency name="filesystem" grouping="require_all" restart_on="none" type="service">
680N/A <service_fmri value="svc:/system/filesystem/local:default" />
680N/A </dependency>
680N/A
680N/A <dependency name="network" grouping="require_all" restart_on="none" type="service">
680N/A <service_fmri value="svc:/milestone/network:default" />
680N/A </dependency>
680N/A
680N/A <property_group name="general" type="framework">
680N/A <propval name="action_authorization" type="astring" value="solaris.smf.manage.opengrok" />
680N/A <propval name="value_authorization" type="astring" value="solaris.smf.value.opengrok" />
680N/A </property_group>
680N/A
680N/A <property_group name="opengrok" type="application">
680N/A <propval name="java" type="astring" value="/usr/jdk/latest/bin/java"/>
680N/A <propval name="java_options" type="astring" value="-server"/>
680N/A <propval name="runtime_path" type="astring" value="/usr/bin:/usr/opengrok/bin"/>
680N/A <propval name="configuration" type="astring" value="/etc/opengrok/opengrok.properties"/>
680N/A <propval name="value_authorization" type="astring"
680N/A value="solaris.smf.value.opengrok" />
680N/A <propval name="action_authorization" type="astring"
680N/A value="solaris.smf.manage.opengrok" />
680N/A </property_group>
680N/A
680N/A <instance name="opengrok" enabled="false">
680N/A <exec_method type="method" name="start" exec="/lib/svc/method/opengrok start" timeout_seconds="30" >
680N/A <method_context>
680N/A <method_credential user="noaccess" group="noaccess" />
680N/A </method_context>
680N/A </exec_method>
680N/A <exec_method type="method" name="stop" exec="/lib/svc/method/opengrok start" timeout_seconds="60" >
680N/A <method_context>
680N/A <method_credential user="noaccess" group="noaccess" />
680N/A </method_context>
680N/A </exec_method>
680N/A </instance>
680N/A
680N/A <stability value="Unstable" />
680N/A <template>
680N/A <common_name>
680N/A <loctext xml:lang="C"> Opengrok application server</loctext>
680N/A </common_name>
680N/A <documentation>
680N/A <manpage title="opengrok" section="1" manpath="/usr/opengrok/man" />
680N/A </documentation>
680N/A </template>
680N/A </service>
680N/A</service_bundle>