xref: /titanic_44/usr/src/cmd/lp/cmd/lpsched/server.xml (revision 8956713aded83a741173fcd4f9ef1c83521fbea9)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26    NOTE:  This service manifest is not editable; its contents will
27    be overwritten by package or patch operations, including
28    operating system upgrade.  Make customizations in a different
29    file.
30-->
31
32<service_bundle type='manifest' name='SUNWpsr:lpsched'>
33
34<service
35    name='application/print/server'
36    type='service'
37    version='1'>
38
39	<create_default_instance enabled='false' />
40	<single_instance />
41
42	<dependency
43	    name='fs-local'
44	    grouping='require_all'
45	    restart_on='none'
46	    type='service'>
47		<service_fmri value='svc:/system/filesystem/local' />
48	</dependency>
49
50	<dependency
51	    name='filesystem'
52	    grouping='require_all'
53	    restart_on='none'
54	    type='service'>
55		<service_fmri value='svc:/system/filesystem/usr'/>
56	</dependency>
57
58	<dependency
59	    name='identity'
60	    grouping='require_all'
61	    restart_on='refresh'
62	    type='service'>
63		<service_fmri value='svc:/system/identity:domain' />
64	</dependency>
65
66	<dependency
67	    name='system-log'
68	    grouping='optional_all'
69	    restart_on='none'
70	    type='service'>
71		<service_fmri value='svc:/system/system-log' />
72	</dependency>
73
74	<dependent
75		name='print-server_multi-user'
76		grouping='optional_all'
77		restart_on='none'>
78			<service_fmri value='svc:/milestone/multi-user' />
79	</dependent>
80
81	<exec_method
82	    type='method'
83	    name='start'
84	    exec='/lib/svc/method/print-svc start'
85	    timeout_seconds='60' />
86
87	<exec_method
88	    type='method'
89	    name='stop'
90	    exec='/lib/svc/method/print-svc stop'
91	    timeout_seconds='60' />
92
93	<property_group name='lpsched' type='framework'>
94		<propval name='num_notifiers' type='count' value='0' />
95		<propval name='num_filters' type='count' value='0' />
96		<propval name='fd_limit' type='count' value='0' />
97		<propval name='reserved_fds' type='count' value='0' />
98	</property_group>
99
100	<property_group name='general' type='framework'>
101		<!-- to start/stop spooling daemon -->
102		<propval name='action_authorization' type='astring'
103			value='solaris.print.admin' />
104		<propval name='value_authorization' type='astring'
105			value='solaris.print.admin' />
106	</property_group>
107
108	<property_group name='firewall_context' type='com.sun,fw_definition'>
109		<propval name='ipf_method' type='astring'
110			value='/lib/svc/method/print-svc ipfilter' />
111	</property_group>
112
113	<property_group name='firewall_config' type='com.sun,fw_configuration'>
114		<propval name='policy' type='astring' value='use_global' />
115		<propval name='apply_to' type='astring' value='' />
116		<propval name='exceptions' type='astring' value='' />
117		<propval name='value_authorization' type='astring'
118			value='solaris.smf.value.firewall.config' />
119	</property_group>
120
121	<stability value='Unstable' />
122
123	<template>
124		<common_name>
125			<loctext xml:lang='C'>
126				LP print server
127			</loctext>
128		</common_name>
129		<documentation>
130			<manpage title='lpsched' section='1M'
131				manpath='/usr/share/man' />
132		</documentation>
133	</template>
134</service>
135
136</service_bundle>
137