xref: /illumos-gate/usr/src/cmd/coreadm/coreadm.xml (revision bbf21555)
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<!--
4dfac3eb2SDavid 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
10dfac3eb2SDavid Powell Common Development and Distribution License (the "License").
11dfac3eb2SDavid 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
51dfac3eb2SDavid Powell	<dependency
52dfac3eb2SDavid Powell		name='coreadm_manifest-import'
53dfac3eb2SDavid Powell		type='service'
54dfac3eb2SDavid Powell		grouping='require_all'
55dfac3eb2SDavid Powell		restart_on='none'>
56dfac3eb2SDavid Powell		<service_fmri value='svc:/system/manifest-import:default' />
57dfac3eb2SDavid Powell	</dependency>
587c478bd9Sstevel@tonic-gate
59dfac3eb2SDavid Powell	<instance name='default' enabled='false'>
60dfac3eb2SDavid Powell		<exec_method
61dfac3eb2SDavid Powell			type='method'
62dfac3eb2SDavid Powell			name='start'
63dfac3eb2SDavid Powell			exec='/usr/bin/coreadm -U'
64dfac3eb2SDavid Powell			timeout_seconds='60' />
65dfac3eb2SDavid Powell
66dfac3eb2SDavid Powell		<exec_method
67dfac3eb2SDavid Powell			type='method'
68dfac3eb2SDavid Powell			name='refresh'
69dfac3eb2SDavid Powell			exec='/usr/bin/coreadm -U'
70dfac3eb2SDavid Powell			timeout_seconds='60' />
71dfac3eb2SDavid Powell
72dfac3eb2SDavid Powell		<exec_method
73dfac3eb2SDavid Powell			type='method'
74dfac3eb2SDavid Powell			name='stop'
75dfac3eb2SDavid Powell			exec=':true'
76dfac3eb2SDavid Powell			timeout_seconds='60' />
77dfac3eb2SDavid Powell
78dfac3eb2SDavid Powell		<property_group name='startd' type='framework'>
79dfac3eb2SDavid Powell			<propval name='duration' type='astring'
80dfac3eb2SDavid Powell				value='transient' />
81dfac3eb2SDavid Powell		</property_group>
82dfac3eb2SDavid Powell
83dfac3eb2SDavid Powell		<property_group name='general' type='framework'>
84dfac3eb2SDavid Powell			<propval name='action_authorization' type='astring'
85dfac3eb2SDavid Powell				value='solaris.smf.manage.coreadm' />
86dfac3eb2SDavid Powell			<propval name='value_authorization' type='astring'
87dfac3eb2SDavid Powell				value='solaris.smf.manage.coreadm' />
88dfac3eb2SDavid Powell		</property_group>
89dfac3eb2SDavid Powell
90dfac3eb2SDavid Powell		<property_group name='config_params' type='application'>
91dfac3eb2SDavid Powell			<propval name='value_authorization' type='astring'
92dfac3eb2SDavid Powell				value='solaris.smf.value.coreadm' />
93dfac3eb2SDavid Powell
94dfac3eb2SDavid Powell			<propval name='global_pattern'
95dfac3eb2SDavid Powell				type='astring' value='' />
96dfac3eb2SDavid Powell			<propval name='global_content'
97dfac3eb2SDavid Powell				type='astring' value='default' />
98dfac3eb2SDavid Powell			<propval name='init_pattern'
99dfac3eb2SDavid Powell				type='astring' value='core' />
100dfac3eb2SDavid Powell			<propval name='init_content'
101dfac3eb2SDavid Powell				type='astring' value='default' />
102dfac3eb2SDavid Powell			<propval name='global_enabled'
103dfac3eb2SDavid Powell				type='boolean' value='false' />
104dfac3eb2SDavid Powell			<propval name='process_enabled'
105dfac3eb2SDavid Powell				type='boolean' value='true' />
106dfac3eb2SDavid Powell			<propval name='global_setid_enabled'
107dfac3eb2SDavid Powell				type='boolean' value='false' />
108dfac3eb2SDavid Powell			<propval name='process_setid_enabled'
109dfac3eb2SDavid Powell				type='boolean' value='false' />
110dfac3eb2SDavid Powell			<propval name='global_log_enabled'
111dfac3eb2SDavid Powell				type='boolean' value='false' />
112dfac3eb2SDavid Powell		</property_group>
113dfac3eb2SDavid 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'
127*bbf21555SRichard Lowe				section='8'
1287c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1297c478bd9Sstevel@tonic-gate		</documentation>
1307c478bd9Sstevel@tonic-gate	</template>
131dfac3eb2SDavid Powell
1327c478bd9Sstevel@tonic-gate</service>
1337c478bd9Sstevel@tonic-gate
1347c478bd9Sstevel@tonic-gate</service_bundle>
135