1<?xml version='1.0'?> 2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> 3 4<!-- 5 CDDL HEADER START 6 7 The contents of this file are subject to the terms of the 8 Common Development and Distribution License (the "License"). 9 You may not use this file except in compliance with the License. 10 11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12 or http://www.opensolaris.org/os/licensing. 13 See the License for the specific language governing permissions 14 and limitations under the License. 15 16 When distributing Covered Code, include this CDDL HEADER in each 17 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18 If applicable, add the following below this CDDL HEADER, with the 19 fields enclosed by brackets "[]" replaced with your own identifying 20 information: Portions Copyright [yyyy] [name of copyright owner] 21 22 CDDL HEADER END 23 24 Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25 Use is subject to license terms. 26 27 ident "%Z%%M% %I% %E% SMI" 28 29 NOTE: This service manifest is not editable; its contents will 30 be overwritten by package or patch operations, including 31 operating system upgrade. Make customizations in a different 32 file. 33--> 34 35<service_bundle type='manifest' name='SUNWpcr:rfc1179'> 36 37<service 38 name='application/print/rfc1179' 39 type='service' 40 version='1'> 41 42 <create_default_instance enabled='false' /> 43 44 <restarter> 45 <service_fmri value='svc:/network/inetd:default' /> 46 </restarter> 47 48 <dependency 49 name='lpsched' 50 grouping='require_all' 51 restart_on='refresh' 52 type='service'> 53 <service_fmri value='svc:/application/print/server' /> 54 </dependency> 55 56 <exec_method 57 type='method' 58 name='inetd_start' 59 exec='/usr/lib/print/in.lpd -u lp -d /var/run/in.lpd' 60 timeout_seconds='0'> 61 <method_context> 62 <method_credential user='root' group='lp' /> 63 </method_context> 64 </exec_method> 65 66 67 <exec_method 68 type='method' 69 name='inetd_disable' 70 exec=':kill' 71 timeout_seconds='0'> 72 </exec_method> 73 74 <property_group name='inetd' type='framework'> 75 <stability value='Evolving' /> 76 <propval name='endpoint_type' type='astring' value='stream' /> 77 <propval name='name' type='astring' value='printer' /> 78 <propval name='wait' type='boolean' value='false' /> 79 <propval name='isrpc' type='boolean' value='false' /> 80 <propval name='proto' type='astring' value='tcp6' /> 81 </property_group> 82 83 <property_group name='general' type='framework'> 84 <!-- to start/stop rfc1179 listening --> 85 <propval name='action_authorization' type='astring' 86 value='solaris.print.admin' /> 87 <propval name='value_authorization' type='astring' 88 value='solaris.print.admin' /> 89 </property_group> 90 91 <stability value='Unstable' /> 92 93 <template> 94 <common_name> 95 <loctext xml:lang='C'> 96 BSD print protocol adapter 97 </loctext> 98 </common_name> 99 <documentation> 100 <manpage title='in.lpd' section='1M' 101 manpath='/usr/share/man' /> 102 </documentation> 103 </template> 104 105</service> 106 107</service_bundle> 108