17c478bd9Sstevel@tonic-gate<?xml version='1.0'?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
37c478bd9Sstevel@tonic-gate
47c478bd9Sstevel@tonic-gate<!--
57c478bd9Sstevel@tonic-gate CDDL HEADER START
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
80a44ef6dSjacobs Common Development and Distribution License (the "License").
90a44ef6dSjacobs You may not use this file except in compliance with the License.
107c478bd9Sstevel@tonic-gate
117c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
127c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
137c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
147c478bd9Sstevel@tonic-gate and limitations under the License.
157c478bd9Sstevel@tonic-gate
167c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
177c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
187c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
197c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
207c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
217c478bd9Sstevel@tonic-gate
227c478bd9Sstevel@tonic-gate CDDL HEADER END
237c478bd9Sstevel@tonic-gate
24eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
250a44ef6dSjacobs Use is subject to license terms.
260a44ef6dSjacobs
277c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
287c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
297c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
307c478bd9Sstevel@tonic-gate	file.
317c478bd9Sstevel@tonic-gate-->
327c478bd9Sstevel@tonic-gate
33b99c70f3SGowtham Thommandra<service_bundle type='manifest' name='SUNWpsr:rfc1179'>
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate<service
367c478bd9Sstevel@tonic-gate    name='application/print/rfc1179'
377c478bd9Sstevel@tonic-gate    type='service'
387c478bd9Sstevel@tonic-gate    version='1'>
397c478bd9Sstevel@tonic-gate
40*bbf21555SRichard Lowe	<create_default_instance enabled='false' />
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<restarter>
437c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
447c478bd9Sstevel@tonic-gate	</restarter>
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate	<dependency
477c478bd9Sstevel@tonic-gate		name='lpsched'
487c478bd9Sstevel@tonic-gate		grouping='require_all'
49c81d47afSceastha		restart_on='refresh'
507c478bd9Sstevel@tonic-gate		type='service'>
517c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/application/print/server' />
527c478bd9Sstevel@tonic-gate	</dependency>
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gate	<exec_method
557c478bd9Sstevel@tonic-gate		type='method'
567c478bd9Sstevel@tonic-gate		name='inetd_start'
570a44ef6dSjacobs		exec='/usr/lib/print/in.lpd -u lp -d /var/run/in.lpd'
587c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
597c478bd9Sstevel@tonic-gate		<method_context>
600a44ef6dSjacobs			<method_credential user='root' group='lp' />
617c478bd9Sstevel@tonic-gate		</method_context>
627c478bd9Sstevel@tonic-gate	</exec_method>
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate
657c478bd9Sstevel@tonic-gate	<exec_method
667c478bd9Sstevel@tonic-gate		type='method'
677c478bd9Sstevel@tonic-gate		name='inetd_disable'
687c478bd9Sstevel@tonic-gate		exec=':kill'
697c478bd9Sstevel@tonic-gate		timeout_seconds='0'>
707c478bd9Sstevel@tonic-gate	</exec_method>
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
737c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
747c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='stream' />
757c478bd9Sstevel@tonic-gate		<propval name='name' type='astring' value='printer' />
767c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='false' />
777c478bd9Sstevel@tonic-gate		<propval name='isrpc' type='boolean' value='false' />
787c478bd9Sstevel@tonic-gate		<propval name='proto' type='astring' value='tcp6' />
797c478bd9Sstevel@tonic-gate	</property_group>
807c478bd9Sstevel@tonic-gate
8153ac4dcaSjacobs	<property_group name='general' type='framework'>
8253ac4dcaSjacobs		<!-- to start/stop rfc1179 listening -->
8353ac4dcaSjacobs		<propval name='action_authorization' type='astring'
8453ac4dcaSjacobs			value='solaris.print.admin' />
8553ac4dcaSjacobs		<propval name='value_authorization' type='astring'
8653ac4dcaSjacobs			value='solaris.print.admin' />
8753ac4dcaSjacobs	</property_group>
8853ac4dcaSjacobs
89eb1a3463STruong Nguyen	<property_group name='firewall_context' type='com.sun,fw_definition'>
90eb1a3463STruong Nguyen		<propval name='ipf_method' type='astring'
91eb1a3463STruong Nguyen			value='/lib/svc/method/print-svc ipfilter svc:/application/print/server:default' />
92eb1a3463STruong Nguyen	</property_group>
93eb1a3463STruong Nguyen
947c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
957c478bd9Sstevel@tonic-gate
967c478bd9Sstevel@tonic-gate	<template>
977c478bd9Sstevel@tonic-gate		<common_name>
987c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
997c478bd9Sstevel@tonic-gate			BSD print protocol adapter
1007c478bd9Sstevel@tonic-gate			</loctext>
1017c478bd9Sstevel@tonic-gate		</common_name>
1027c478bd9Sstevel@tonic-gate		<documentation>
103*bbf21555SRichard Lowe			<manpage title='in.lpd' section='8'
1047c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1057c478bd9Sstevel@tonic-gate		</documentation>
1067c478bd9Sstevel@tonic-gate	</template>
1077c478bd9Sstevel@tonic-gate
1087c478bd9Sstevel@tonic-gate</service>
1097c478bd9Sstevel@tonic-gate
1107c478bd9Sstevel@tonic-gate</service_bundle>
111