xref: /titanic_41/usr/src/cmd/ldmad/ldoms-agents.xml (revision 67dbe2be0c0f1e2eb428b89088bb5667e8f0b9f6)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24    Use is subject to license terms.
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 file.
29-->
30
31<service_bundle type='manifest' name='SUNWldomu:ldmad'>
32
33<service
34    name='ldoms/agents'
35    type='service'
36    version='1'>
37
38	<create_default_instance enabled='false' />
39
40	<single_instance />
41
42	<dependency
43	    name='filesystem-minimal'
44	    grouping='require_all'
45	    restart_on='none'
46	    type='service'>
47		<service_fmri value='svc:/system/filesystem/minimal' />
48	</dependency>
49
50	<dependency
51	    name='syslog'
52	    grouping='optional_all'
53	    restart_on='none'
54	    type='service'>
55		<service_fmri value='svc:/system/system-log' />
56	</dependency>
57
58	<exec_method
59	    type='method'
60	    name='start'
61	    exec='/lib/svc/method/ldoms-agents'
62	    timeout_seconds='60' />
63
64	<exec_method
65	    type='method'
66	    name='stop'
67	    exec=':kill'
68	    timeout_seconds='30' />
69
70	<stability value='Unstable' />
71
72	<template>
73		<common_name>
74			<loctext xml:lang='C'>
75			Logical Domains agents service
76			</loctext>
77		</common_name>
78		<documentation>
79			<manpage title='ldmad' section='1M'
80				manpath='/usr/share/man' />
81		</documentation>
82	</template>
83</service>
84
85</service_bundle>
86