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