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