xref: /titanic_52/usr/src/cmd/print/bsd-sysv-commands/rfc1179.xml (revision b99c70f32a31d2e72af250f2182651ba83724506)
10a44ef6dSjacobs<?xml version='1.0'?>
20a44ef6dSjacobs<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
30a44ef6dSjacobs
40a44ef6dSjacobs<!--
50a44ef6dSjacobs CDDL HEADER START
60a44ef6dSjacobs
70a44ef6dSjacobs 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.
100a44ef6dSjacobs
110a44ef6dSjacobs You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120a44ef6dSjacobs or http://www.opensolaris.org/os/licensing.
130a44ef6dSjacobs See the License for the specific language governing permissions
140a44ef6dSjacobs and limitations under the License.
150a44ef6dSjacobs
160a44ef6dSjacobs When distributing Covered Code, include this CDDL HEADER in each
170a44ef6dSjacobs file and include the License file at usr/src/OPENSOLARIS.LICENSE.
180a44ef6dSjacobs If applicable, add the following below this CDDL HEADER, with the
190a44ef6dSjacobs fields enclosed by brackets "[]" replaced with your own identifying
200a44ef6dSjacobs information: Portions Copyright [yyyy] [name of copyright owner]
210a44ef6dSjacobs
220a44ef6dSjacobs CDDL HEADER END
230a44ef6dSjacobs
24eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
250a44ef6dSjacobs Use is subject to license terms.
260a44ef6dSjacobs
270a44ef6dSjacobs	NOTE:  This service manifest is not editable; its contents will
280a44ef6dSjacobs	be overwritten by package or patch operations, including
290a44ef6dSjacobs	operating system upgrade.  Make customizations in a different
300a44ef6dSjacobs	file.
310a44ef6dSjacobs-->
320a44ef6dSjacobs
33*b99c70f3SGowtham Thommandra<service_bundle type='manifest' name='SUNWpsr:rfc1179'>
340a44ef6dSjacobs
350a44ef6dSjacobs<service
360a44ef6dSjacobs    name='application/print/rfc1179'
370a44ef6dSjacobs    type='service'
380a44ef6dSjacobs    version='1'>
390a44ef6dSjacobs
40c81d47afSceastha    	<create_default_instance enabled='false' />
410a44ef6dSjacobs
420a44ef6dSjacobs	<restarter>
430a44ef6dSjacobs		<service_fmri value='svc:/network/inetd:default' />
440a44ef6dSjacobs	</restarter>
450a44ef6dSjacobs
460a44ef6dSjacobs	<dependency
470a44ef6dSjacobs		name='lpsched'
480a44ef6dSjacobs		grouping='require_all'
49c81d47afSceastha		restart_on='refresh'
500a44ef6dSjacobs		type='service'>
510a44ef6dSjacobs		<service_fmri value='svc:/application/print/server' />
520a44ef6dSjacobs	</dependency>
530a44ef6dSjacobs
540a44ef6dSjacobs	<exec_method
550a44ef6dSjacobs		type='method'
560a44ef6dSjacobs		name='inetd_start'
570a44ef6dSjacobs		exec='/usr/lib/print/in.lpd -u lp -d /var/run/in.lpd'
580a44ef6dSjacobs		timeout_seconds='0'>
590a44ef6dSjacobs		<method_context>
600a44ef6dSjacobs			<method_credential user='root' group='lp' />
610a44ef6dSjacobs		</method_context>
620a44ef6dSjacobs	</exec_method>
630a44ef6dSjacobs
640a44ef6dSjacobs
650a44ef6dSjacobs	<exec_method
660a44ef6dSjacobs		type='method'
670a44ef6dSjacobs		name='inetd_disable'
680a44ef6dSjacobs		exec=':kill'
690a44ef6dSjacobs		timeout_seconds='0'>
700a44ef6dSjacobs	</exec_method>
710a44ef6dSjacobs
720a44ef6dSjacobs	<property_group name='inetd' type='framework'>
730a44ef6dSjacobs		<stability value='Evolving' />
740a44ef6dSjacobs		<propval name='endpoint_type' type='astring' value='stream' />
750a44ef6dSjacobs		<propval name='name' type='astring' value='printer' />
760a44ef6dSjacobs		<propval name='wait' type='boolean' value='false' />
770a44ef6dSjacobs		<propval name='isrpc' type='boolean' value='false' />
780a44ef6dSjacobs		<propval name='proto' type='astring' value='tcp6' />
790a44ef6dSjacobs	</property_group>
800a44ef6dSjacobs
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
940a44ef6dSjacobs	<stability value='Unstable' />
950a44ef6dSjacobs
960a44ef6dSjacobs	<template>
970a44ef6dSjacobs		<common_name>
980a44ef6dSjacobs			<loctext xml:lang='C'>
990a44ef6dSjacobs			BSD print protocol adapter
1000a44ef6dSjacobs			</loctext>
1010a44ef6dSjacobs		</common_name>
1020a44ef6dSjacobs		<documentation>
1030a44ef6dSjacobs			<manpage title='in.lpd' section='1M'
1040a44ef6dSjacobs			    manpath='/usr/share/man' />
1050a44ef6dSjacobs		</documentation>
1060a44ef6dSjacobs	</template>
1070a44ef6dSjacobs
1080a44ef6dSjacobs</service>
1090a44ef6dSjacobs
1100a44ef6dSjacobs</service_bundle>
111