xref: /titanic_51/usr/src/cmd/ldmad/ldoms-agents.xml (revision 49bfb42b00abac0958a1308f4233e366fd083366)
1*49bfb42bSAlexandre Chartre<?xml version="1.0"?>
2*49bfb42bSAlexandre Chartre<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*49bfb42bSAlexandre Chartre<!--
4*49bfb42bSAlexandre Chartre    CDDL HEADER START
5*49bfb42bSAlexandre Chartre
6*49bfb42bSAlexandre Chartre    The contents of this file are subject to the terms of the
7*49bfb42bSAlexandre Chartre    Common Development and Distribution License (the "License").
8*49bfb42bSAlexandre Chartre    You may not use this file except in compliance with the License.
9*49bfb42bSAlexandre Chartre
10*49bfb42bSAlexandre Chartre    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*49bfb42bSAlexandre Chartre    or http://www.opensolaris.org/os/licensing.
12*49bfb42bSAlexandre Chartre    See the License for the specific language governing permissions
13*49bfb42bSAlexandre Chartre    and limitations under the License.
14*49bfb42bSAlexandre Chartre
15*49bfb42bSAlexandre Chartre    When distributing Covered Code, include this CDDL HEADER in each
16*49bfb42bSAlexandre Chartre    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*49bfb42bSAlexandre Chartre    If applicable, add the following below this CDDL HEADER, with the
18*49bfb42bSAlexandre Chartre    fields enclosed by brackets "[]" replaced with your own identifying
19*49bfb42bSAlexandre Chartre    information: Portions Copyright [yyyy] [name of copyright owner]
20*49bfb42bSAlexandre Chartre
21*49bfb42bSAlexandre Chartre    CDDL HEADER END
22*49bfb42bSAlexandre Chartre
23*49bfb42bSAlexandre Chartre    Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*49bfb42bSAlexandre Chartre    Use is subject to license terms.
25*49bfb42bSAlexandre Chartre
26*49bfb42bSAlexandre Chartre    NOTE:  This service manifest is not editable; its contents will
27*49bfb42bSAlexandre Chartre    be overwritten by package or patch operations, including
28*49bfb42bSAlexandre Chartre    operating system upgrade.  Make customizations in a different file.
29*49bfb42bSAlexandre Chartre-->
30*49bfb42bSAlexandre Chartre
31*49bfb42bSAlexandre Chartre<service_bundle type='manifest' name='SUNWldomu:ldmad'>
32*49bfb42bSAlexandre Chartre
33*49bfb42bSAlexandre Chartre<service
34*49bfb42bSAlexandre Chartre    name='ldoms/agents'
35*49bfb42bSAlexandre Chartre    type='service'
36*49bfb42bSAlexandre Chartre    version='1'>
37*49bfb42bSAlexandre Chartre
38*49bfb42bSAlexandre Chartre	<create_default_instance enabled='false' />
39*49bfb42bSAlexandre Chartre
40*49bfb42bSAlexandre Chartre	<single_instance />
41*49bfb42bSAlexandre Chartre
42*49bfb42bSAlexandre Chartre	<dependency
43*49bfb42bSAlexandre Chartre	    name='filesystem-minimal'
44*49bfb42bSAlexandre Chartre	    grouping='require_all'
45*49bfb42bSAlexandre Chartre	    restart_on='none'
46*49bfb42bSAlexandre Chartre	    type='service'>
47*49bfb42bSAlexandre Chartre		<service_fmri value='svc:/system/filesystem/minimal' />
48*49bfb42bSAlexandre Chartre	</dependency>
49*49bfb42bSAlexandre Chartre
50*49bfb42bSAlexandre Chartre	<dependency
51*49bfb42bSAlexandre Chartre	    name='syslog'
52*49bfb42bSAlexandre Chartre	    grouping='optional_all'
53*49bfb42bSAlexandre Chartre	    restart_on='none'
54*49bfb42bSAlexandre Chartre	    type='service'>
55*49bfb42bSAlexandre Chartre		<service_fmri value='svc:/system/system-log' />
56*49bfb42bSAlexandre Chartre	</dependency>
57*49bfb42bSAlexandre Chartre
58*49bfb42bSAlexandre Chartre	<exec_method
59*49bfb42bSAlexandre Chartre	    type='method'
60*49bfb42bSAlexandre Chartre	    name='start'
61*49bfb42bSAlexandre Chartre	    exec='/lib/svc/method/ldoms-agents'
62*49bfb42bSAlexandre Chartre	    timeout_seconds='60' />
63*49bfb42bSAlexandre Chartre
64*49bfb42bSAlexandre Chartre	<exec_method
65*49bfb42bSAlexandre Chartre	    type='method'
66*49bfb42bSAlexandre Chartre	    name='stop'
67*49bfb42bSAlexandre Chartre	    exec=':kill'
68*49bfb42bSAlexandre Chartre	    timeout_seconds='30' />
69*49bfb42bSAlexandre Chartre
70*49bfb42bSAlexandre Chartre	<stability value='Unstable' />
71*49bfb42bSAlexandre Chartre
72*49bfb42bSAlexandre Chartre	<template>
73*49bfb42bSAlexandre Chartre		<common_name>
74*49bfb42bSAlexandre Chartre			<loctext xml:lang='C'>
75*49bfb42bSAlexandre Chartre			Logical Domains agents service
76*49bfb42bSAlexandre Chartre			</loctext>
77*49bfb42bSAlexandre Chartre		</common_name>
78*49bfb42bSAlexandre Chartre		<documentation>
79*49bfb42bSAlexandre Chartre			<manpage title='ldmad' section='1M'
80*49bfb42bSAlexandre Chartre				manpath='/usr/share/man' />
81*49bfb42bSAlexandre Chartre		</documentation>
82*49bfb42bSAlexandre Chartre	</template>
83*49bfb42bSAlexandre Chartre</service>
84*49bfb42bSAlexandre Chartre
85*49bfb42bSAlexandre Chartre</service_bundle>
86