xref: /titanic_44/usr/src/cmd/lp/cmd/lpsched/server.xml (revision 843e19887f64dde75055cf8842fc4db2171eff45)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2007 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    pragma ident	"%Z%%M%	%I%	%E% SMI"
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	<stability value='Unstable' />
111
112	<template>
113		<common_name>
114			<loctext xml:lang='C'>
115				LP print server
116			</loctext>
117		</common_name>
118		<documentation>
119			<manpage title='lpsched' section='1M'
120				manpath='/usr/share/man' />
121		</documentation>
122	</template>
123</service>
124
125</service_bundle>
126