xref: /illumos-gate/usr/src/cmd/tsol/labeld/labeld.xml (revision 1f5207b7604fb44407eb4342aff613f7c4508508)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4    CDDL HEADER START
5
6    The contents of this file are subject to the terms of the
7    Common Development and Distribution License (the "License").
8    You may not use this file except in compliance with the License.
9
10    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11    or http://www.opensolaris.org/os/licensing.
12    See the License for the specific language governing permissions
13    and limitations under the License.
14
15    When distributing Covered Code, include this CDDL HEADER in each
16    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17    If applicable, add the following below this CDDL HEADER, with the
18    fields enclosed by brackets "[]" replaced with your own identifying
19    information: Portions Copyright [yyyy] [name of copyright owner]
20
21    CDDL HEADER END
22
23	Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24	Use is subject to license terms.
25
26	ident	"%Z%%M%	%I%	%E% SMI"
27-->
28
29<service_bundle type='manifest' name='SUNWtsg:labeld'>
30
31<service
32	name='system/labeld'
33	type='service'
34	version='1'>
35
36	<single_instance/>
37
38	<dependency
39		name='usr'
40		type='service'
41		grouping='require_all'
42		restart_on='none'>
43		<service_fmri value='svc:/system/filesystem/minimal' />
44	</dependency>
45
46
47	<exec_method
48		type='method'
49		name='start'
50		exec='/lib/svc/method/svc-labeld %m'
51		timeout_seconds='180' />
52
53	<exec_method
54		type='method'
55		name='stop'
56		exec='/lib/svc/method/svc-labeld %m'
57		timeout_seconds='180' />
58
59	<property_group name='general' type='framework'>
60		<!-- start and stop labeld -->
61		<propval name='action_authorization' type='astring'
62			value='solaris.smf.manage.labels' />
63		<propval name='value_authorization' type='astring'
64			value='solaris.smf.manage.labels' />
65	</property_group>
66
67	<instance name='default' enabled='false'>
68
69      	<property_group name='labeld' type='application'>
70		<!-- Sun internal, do not change -->
71		<propval name='svctag_inst' type='astring'
72			value='' />
73	</property_group>
74
75	</instance>
76
77
78	<stability value='Unstable' />
79
80	<template>
81		<common_name>
82			<loctext xml:lang='C'> label daemon
83			</loctext>
84		</common_name>
85		<documentation>
86			<doc_link
87				name='Solaris Trusted Extensions Label Administration Guide'
88				uri='http://docs.sun.com' />
89		</documentation>
90	</template>
91</service>
92
93</service_bundle>
94