6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
27 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
29 <service_bundle type='manifest' name='SUNWsquidr:squid'>
37 Because we may have multiple instances of network/http
38 provided by different implementations, we keep dependencies
39 and methods within the instance.
42 <instance name='squid' enabled='false'>
44 Wait for network interfaces to be initialized.
46 <dependency name='network'
47 grouping='require_all'
50 <service_fmri value='svc:/milestone/network:default'/>
54 Wait for all local filesystems to be mounted.
56 <dependency name='filesystem-local'
57 grouping='require_all'
61 value='svc:/system/filesystem/local:default'/>
65 Wait for automounting to be available, as we may be
66 serving data from home directories or other remote
69 <dependency name='autofs'
70 grouping='optional_all'
74 value='svc:/system/filesystem/autofs:default'/>
80 exec='/lib/svc/method/http-squid start'
81 timeout_seconds='60' />
86 exec='/lib/svc/method/http-squid stop'
87 timeout_seconds='60' />
89 <property_group name='startd' type='framework'>
90 <!-- sub-process core dumps shouldn't restart
92 <propval name='ignore_error' type='astring'
93 value='core,signal' />
98 <loctext xml:lang='C'>
103 <manpage title='squid' section='8'
104 manpath='/usr/squid/man' />
105 <doc_link name='squid-cache.org'
106 uri='http://www.squid-cache.org' />
111 <stability value='Evolving' />