xref: /titanic_52/usr/src/cmd/print/bsd-sysv-commands/rfc1179.xml (revision 385cc6b4ad1792caef3f84eb61eed3f27085801f)
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 2009 Sun Microsystems, Inc.  All rights reserved.
25 Use is subject to license terms.
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31-->
32
33<service_bundle type='manifest' name='SUNWpsr:rfc1179'>
34
35<service
36    name='application/print/rfc1179'
37    type='service'
38    version='1'>
39
40    	<create_default_instance enabled='false' />
41
42	<restarter>
43		<service_fmri value='svc:/network/inetd:default' />
44	</restarter>
45
46	<dependency
47		name='lpsched'
48		grouping='require_all'
49		restart_on='refresh'
50		type='service'>
51		<service_fmri value='svc:/application/print/server' />
52	</dependency>
53
54	<exec_method
55		type='method'
56		name='inetd_start'
57		exec='/usr/lib/print/in.lpd -u lp -d /var/run/in.lpd'
58		timeout_seconds='0'>
59		<method_context>
60			<method_credential user='root' group='lp' />
61		</method_context>
62	</exec_method>
63
64
65	<exec_method
66		type='method'
67		name='inetd_disable'
68		exec=':kill'
69		timeout_seconds='0'>
70	</exec_method>
71
72	<property_group name='inetd' type='framework'>
73		<stability value='Evolving' />
74		<propval name='endpoint_type' type='astring' value='stream' />
75		<propval name='name' type='astring' value='printer' />
76		<propval name='wait' type='boolean' value='false' />
77		<propval name='isrpc' type='boolean' value='false' />
78		<propval name='proto' type='astring' value='tcp6' />
79	</property_group>
80
81	<property_group name='general' type='framework'>
82		<!-- to start/stop rfc1179 listening -->
83		<propval name='action_authorization' type='astring'
84			value='solaris.print.admin' />
85		<propval name='value_authorization' type='astring'
86			value='solaris.print.admin' />
87	</property_group>
88
89	<property_group name='firewall_context' type='com.sun,fw_definition'>
90		<propval name='ipf_method' type='astring'
91			value='/lib/svc/method/print-svc ipfilter svc:/application/print/server:default' />
92	</property_group>
93
94	<stability value='Unstable' />
95
96	<template>
97		<common_name>
98			<loctext xml:lang='C'>
99			BSD print protocol adapter
100			</loctext>
101		</common_name>
102		<documentation>
103			<manpage title='in.lpd' section='1M'
104			    manpath='/usr/share/man' />
105		</documentation>
106	</template>
107
108</service>
109
110</service_bundle>
111