xref: /illumos-gate/usr/src/cmd/tsol/labeld/labeld.xml (revision f875b4eb)
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 2007 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	<create_default_instance enabled='false' />
37
38	<single_instance/>
39
40	<dependency
41		name='usr'
42		type='service'
43		grouping='require_all'
44		restart_on='none'>
45		<service_fmri value='svc:/system/filesystem/minimal' />
46	</dependency>
47
48	<exec_method
49		type='method'
50		name='start'
51		exec='/lib/svc/method/svc-labeld %m'
52		timeout_seconds='180' />
53
54	<exec_method
55		type='method'
56		name='stop'
57		exec='/lib/svc/method/svc-labeld %m'
58		timeout_seconds='180' />
59
60	<property_group name='general' type='framework'>
61		<!-- start and stop labeld -->
62		<propval name='action_authorization' type='astring'
63			value='solaris.smf.manage.labels' />
64		<propval name='value_authorization' type='astring'
65			value='solaris.smf.manage.labels' />
66	</property_group>
67
68	<stability value='Unstable' />
69
70	<template>
71		<common_name>
72			<loctext xml:lang='C'> label daemon
73			</loctext>
74		</common_name>
75		<documentation>
76			<doc_link
77				name='Solaris Trusted Extensions Label Administration Guide'
78				uri='http://docs.sun.com' />
79		</documentation>
80	</template>
81</service>
82
83</service_bundle>
84