331N/A<?xml version="1.0"?>
331N/A<!--
331N/ACDDL HEADER START
331N/A
331N/AThe contents of this file are subject to the terms of the
331N/ACommon Development and Distribution License (the "License").
331N/AYou may not use this file except in compliance with the License.
331N/A
331N/AYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
331N/Aor http://www.opensolaris.org/os/licensing.
331N/ASee the License for the specific language governing permissions
331N/Aand limitations under the License.
331N/A
331N/AWhen distributing Covered Code, include this CDDL HEADER in each
331N/Afile and include the License file at usr/src/OPENSOLARIS.LICENSE.
331N/AIf applicable, add the following below this CDDL HEADER, with the
331N/Afields enclosed by brackets "[]" replaced with your own identifying
331N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
331N/A
331N/ACDDL HEADER END
331N/A-->
331N/A
331N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
331N/A<!--
2173N/A Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
331N/A-->
331N/A
331N/A<service_bundle type='manifest' name='SUNWlighttpd14r:lighttpd'>
331N/A
331N/A<service
331N/A name='network/http'
331N/A type='service'
331N/A version='1'>
331N/A
331N/A <!--
331N/A Because we may have multiple instances of network/http
331N/A provided by different implementations, we keep dependencies
331N/A and methods within the instance.
331N/A -->
331N/A
331N/A <instance name='lighttpd14' enabled='false'>
331N/A <!--
331N/A Wait for network interfaces to be initialized.
331N/A -->
331N/A <dependency name='network'
331N/A grouping='require_all'
331N/A restart_on='error'
331N/A type='service'>
331N/A <service_fmri value='svc:/milestone/network:default'/>
331N/A </dependency>
331N/A
331N/A <!--
331N/A Wait for all local filesystems to be mounted.
331N/A -->
331N/A <dependency name='filesystem-local'
331N/A grouping='require_all'
331N/A restart_on='none'
331N/A type='service'>
331N/A <service_fmri
331N/A value='svc:/system/filesystem/local:default'/>
331N/A </dependency>
331N/A
331N/A <!--
331N/A Wait for automounting to be available, as we may be
331N/A serving data from home directories or other remote
331N/A filesystems.
331N/A -->
331N/A <dependency name='autofs'
331N/A grouping='optional_all'
331N/A restart_on='error'
331N/A type='service'>
331N/A <service_fmri
331N/A value='svc:/system/filesystem/autofs:default'/>
331N/A </dependency>
331N/A
331N/A <exec_method
331N/A type='method'
331N/A name='start'
2173N/A exec='/usr/lighttpd/1.4/sbin/lighttpd -f /etc/lighttpd/1.4/lighttpd.conf'
331N/A timeout_seconds='60'>
2173N/A <method_context>
2173N/A <method_credential
2173N/A user='webservd' group='webservd'
2173N/A privileges='basic,net_privaddr'/>
2173N/A </method_context>
331N/A </exec_method>
331N/A
331N/A <exec_method
331N/A type='method'
331N/A name='stop'
2173N/A exec=':kill'
331N/A timeout_seconds='60'>
331N/A <method_context />
331N/A </exec_method>
331N/A
331N/A <exec_method
331N/A type='method'
331N/A name='refresh'
2173N/A exec=':kill -HUP'
331N/A timeout_seconds='60'>
2173N/A <method_context>
2173N/A <method_credential
2173N/A user='webservd' group='webservd'
2173N/A privileges='basic,net_privaddr'/>
2173N/A </method_context>
331N/A </exec_method>
331N/A
331N/A <property_group name='httpd' type='application'>
331N/A <stability value='Evolving' />
331N/A <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />
331N/A </property_group>
331N/A
331N/A <property_group name='general' type='framework'>
331N/A <propval name='action_authorization' type='astring' value='solaris.smf.manage.http/lighttpd14' />
331N/A <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />
331N/A </property_group>
331N/A
331N/A <property_group name='startd' type='framework'>
331N/A <!-- sub-process core dumps shouldn't restart session -->
331N/A <propval name='ignore_error' type='astring'
331N/A value='core,signal' />
331N/A </property_group>
331N/A
331N/A
331N/A <template>
331N/A <common_name>
331N/A <loctext xml:lang='C'>
331N/A Lighttpd Web Server
331N/A </loctext>
331N/A </common_name>
331N/A <documentation>
331N/A <manpage title='lighttpd' section='1'
331N/A manpath='/usr/lighttpd/1.4/man' />
331N/A <doc_link name='lighttpd.net'
331N/A uri='http://trac.lighttpd.net/trac/wiki/Docs' />
331N/A </documentation>
331N/A </template>
331N/A </instance>
331N/A
331N/A <stability value='Evolving' />
331N/A</service>
331N/A
331N/A</service_bundle>