Print this page
2837 - remove print/lp* from gate and use CUPS from userland
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/print/mod_ipp/ipp-listener.xml
+++ new/usr/src/lib/print/mod_ipp/ipp-listener.xml
1 1 <?xml version="1.0"?>
2 2 <!--
3 3 CDDL HEADER START
4 4
5 5 The contents of this file are subject to the terms of the
6 6 Common Development and Distribution License (the "License").
7 7 You may not use this file except in compliance with the License.
8 8
9 9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 or http://www.opensolaris.org/os/licensing.
11 11 See the License for the specific language governing permissions
12 12 and limitations under the License.
13 13
14 14 When distributing Covered Code, include this CDDL HEADER in each
15 15 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 If applicable, add the following below this CDDL HEADER, with the
17 17 fields enclosed by brackets "[]" replaced with your own identifying
18 18 information: Portions Copyright [yyyy] [name of copyright owner]
19 19
20 20 CDDL HEADER END
21 21 -->
22 22 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
23 23 <!--
24 24 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
25 25 Use is subject to license terms.
26 26 -->
27 27
28 28 <service_bundle type='manifest' name='SUNWipplr:ipp-listener'>
29 29
30 30 <service
31 31 name='application/print/ipp-listener'
32 32 type='service'
33 33 version='1'>
34 34
35 35 <create_default_instance enabled='false' />
36 36
↓ open down ↓ |
36 lines elided |
↑ open up ↑ |
37 37 <dependency name='print-service'
38 38 grouping='require_any'
39 39 restart_on='refresh'
40 40 type='service'>
41 41 <service_fmri value='svc:/application/print/server' />
42 42 </dependency>
43 43
44 44 <exec_method
45 45 type='method'
46 46 name='start'
47 - exec='/usr/apache/bin/httpd -f /etc/apache/httpd-standalone-ipp.conf'
47 + exec='/usr/apache2/2.2/bin/httpd -f /etc/apache2/2.2/httpd-standalone-ipp.conf'
48 48 timeout_seconds='10' />
49 49
50 50 <exec_method
51 51 type='method'
52 52 name='stop'
53 53 exec='/bin/pkill -f httpd-standalone-ipp.conf'
54 54 timeout_seconds='5' />
55 55
56 56 <property_group name='general' type='framework'>
57 57 <!-- to start/stop IPP listening service-->
58 58 <propval name='action_authorization' type='astring'
59 59 value='solaris.print.admin' />
60 60 <propval name='value_authorization' type='astring'
61 61 value='solaris.print.admin' />
62 62 </property_group>
63 63
64 64 <property_group name='firewall_context' type='com.sun,fw_definition'>
65 65 <propval name='ipf_method' type='astring'
66 66 value='/lib/svc/method/print-svc ipfilter svc:/application/print/server:default' />
67 67 </property_group>
68 68
69 69 <stability value='Unstable' />
70 70
71 71 <template>
72 72 <common_name>
73 73 <loctext xml:lang='C'>
74 74 Internet Print Protocol Listening Service
75 75 </loctext>
76 76 </common_name>
77 77 <documentation>
78 78 <manpage title='mod_ipp' section='4'
79 79 manpath='/usr/share/man' />
80 80 </documentation>
81 81 </template>
82 82 </service>
83 83
84 84 </service_bundle>
↓ open down ↓ |
27 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX