xref: /illumos-gate/usr/src/cmd/coreadm/coreadm.xml (revision dfac3eb2)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4*dfac3eb2SDavid Powell Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate CDDL HEADER START
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
10*dfac3eb2SDavid Powell Common Development and Distribution License (the "License").
11*dfac3eb2SDavid Powell You may not use this file except in compliance with the License.
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
157c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
167c478bd9Sstevel@tonic-gate and limitations under the License.
177c478bd9Sstevel@tonic-gate
187c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
197c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
217c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
227c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
237c478bd9Sstevel@tonic-gate
247c478bd9Sstevel@tonic-gate CDDL HEADER END
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
277c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
287c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
297c478bd9Sstevel@tonic-gate	file.
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate	Service manifest for coreadm.
327c478bd9Sstevel@tonic-gate-->
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:coreadm'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service
377c478bd9Sstevel@tonic-gate	name='system/coreadm'
387c478bd9Sstevel@tonic-gate	type='service'
397c478bd9Sstevel@tonic-gate	version='1'>
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate	<single_instance />
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate	<dependency
447c478bd9Sstevel@tonic-gate		name='usr'
457c478bd9Sstevel@tonic-gate		type='service'
467c478bd9Sstevel@tonic-gate		grouping='require_all'
477c478bd9Sstevel@tonic-gate		restart_on='none'>
487c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/minimal' />
497c478bd9Sstevel@tonic-gate	</dependency>
507c478bd9Sstevel@tonic-gate
51*dfac3eb2SDavid Powell	<dependency
52*dfac3eb2SDavid Powell		name='coreadm_manifest-import'
53*dfac3eb2SDavid Powell		type='service'
54*dfac3eb2SDavid Powell		grouping='require_all'
55*dfac3eb2SDavid Powell		restart_on='none'>
56*dfac3eb2SDavid Powell		<service_fmri value='svc:/system/manifest-import:default' />
57*dfac3eb2SDavid Powell	</dependency>
587c478bd9Sstevel@tonic-gate
59*dfac3eb2SDavid Powell	<instance name='default' enabled='false'>
60*dfac3eb2SDavid Powell		<exec_method
61*dfac3eb2SDavid Powell			type='method'
62*dfac3eb2SDavid Powell			name='start'
63*dfac3eb2SDavid Powell			exec='/usr/bin/coreadm -U'
64*dfac3eb2SDavid Powell			timeout_seconds='60' />
65*dfac3eb2SDavid Powell
66*dfac3eb2SDavid Powell		<exec_method
67*dfac3eb2SDavid Powell			type='method'
68*dfac3eb2SDavid Powell			name='refresh'
69*dfac3eb2SDavid Powell			exec='/usr/bin/coreadm -U'
70*dfac3eb2SDavid Powell			timeout_seconds='60' />
71*dfac3eb2SDavid Powell
72*dfac3eb2SDavid Powell		<exec_method
73*dfac3eb2SDavid Powell			type='method'
74*dfac3eb2SDavid Powell			name='stop'
75*dfac3eb2SDavid Powell			exec=':true'
76*dfac3eb2SDavid Powell			timeout_seconds='60' />
77*dfac3eb2SDavid Powell
78*dfac3eb2SDavid Powell		<property_group name='startd' type='framework'>
79*dfac3eb2SDavid Powell			<propval name='duration' type='astring'
80*dfac3eb2SDavid Powell				value='transient' />
81*dfac3eb2SDavid Powell		</property_group>
82*dfac3eb2SDavid Powell
83*dfac3eb2SDavid Powell		<property_group name='general' type='framework'>
84*dfac3eb2SDavid Powell			<propval name='action_authorization' type='astring'
85*dfac3eb2SDavid Powell				value='solaris.smf.manage.coreadm' />
86*dfac3eb2SDavid Powell			<propval name='value_authorization' type='astring'
87*dfac3eb2SDavid Powell				value='solaris.smf.manage.coreadm' />
88*dfac3eb2SDavid Powell		</property_group>
89*dfac3eb2SDavid Powell
90*dfac3eb2SDavid Powell		<property_group name='config_params' type='application'>
91*dfac3eb2SDavid Powell			<propval name='value_authorization' type='astring'
92*dfac3eb2SDavid Powell				value='solaris.smf.value.coreadm' />
93*dfac3eb2SDavid Powell
94*dfac3eb2SDavid Powell			<propval name='global_pattern'
95*dfac3eb2SDavid Powell				type='astring' value='' />
96*dfac3eb2SDavid Powell			<propval name='global_content'
97*dfac3eb2SDavid Powell				type='astring' value='default' />
98*dfac3eb2SDavid Powell			<propval name='init_pattern'
99*dfac3eb2SDavid Powell				type='astring' value='core' />
100*dfac3eb2SDavid Powell			<propval name='init_content'
101*dfac3eb2SDavid Powell				type='astring' value='default' />
102*dfac3eb2SDavid Powell			<propval name='global_enabled'
103*dfac3eb2SDavid Powell				type='boolean' value='false' />
104*dfac3eb2SDavid Powell			<propval name='process_enabled'
105*dfac3eb2SDavid Powell				type='boolean' value='true' />
106*dfac3eb2SDavid Powell			<propval name='global_setid_enabled'
107*dfac3eb2SDavid Powell				type='boolean' value='false' />
108*dfac3eb2SDavid Powell			<propval name='process_setid_enabled'
109*dfac3eb2SDavid Powell				type='boolean' value='false' />
110*dfac3eb2SDavid Powell			<propval name='global_log_enabled'
111*dfac3eb2SDavid Powell				type='boolean' value='false' />
112*dfac3eb2SDavid Powell		</property_group>
113*dfac3eb2SDavid Powell	</instance>
1147c478bd9Sstevel@tonic-gate
1157c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1167c478bd9Sstevel@tonic-gate
1177c478bd9Sstevel@tonic-gate	<template>
1187c478bd9Sstevel@tonic-gate		<common_name>
1197c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1207c478bd9Sstevel@tonic-gate				system-wide core file configuration
1217c478bd9Sstevel@tonic-gate			</loctext>
1227c478bd9Sstevel@tonic-gate		</common_name>
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gate		<documentation>
1257c478bd9Sstevel@tonic-gate			<manpage
1267c478bd9Sstevel@tonic-gate				title='coreadm'
1277c478bd9Sstevel@tonic-gate				section='1M'
1287c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1297c478bd9Sstevel@tonic-gate		</documentation>
1307c478bd9Sstevel@tonic-gate	</template>
131*dfac3eb2SDavid Powell
1327c478bd9Sstevel@tonic-gate</service>
1337c478bd9Sstevel@tonic-gate
1347c478bd9Sstevel@tonic-gate</service_bundle>
135