2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
24 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
25 Use is subject to license terms.
27 NOTE: This service manifest is not editable; its contents will
28 be overwritten by package or patch operations, including
29 operating system upgrade. Make customizations in a different
32 Service manifest for rmtmpfiles.
35 <service_bundle type='manifest' name='SUNWcsr:rmtmpfiles'>
38 name='system/rmtmpfiles'
42 <create_default_instance enabled='true' />
48 grouping='require_all'
51 <service_fmri value='svc:/system/filesystem/minimal' />
55 name='rmtmpfiles_multi-user'
56 grouping='require_all'
58 <service_fmri value='svc:/milestone/multi-user' />
64 exec='/lib/svc/method/rmtmpfiles'
65 timeout_seconds='30' />
71 timeout_seconds='1' />
73 <property_group name='startd' type='framework'>
74 <propval name='duration' type='astring' value='transient' />
78 This is used in the method script to determine whether files
79 in /var/tmp should be deleted when the service is started.
81 <property_group name='options' type='application'>
82 <propval name='clean_vartmp' type='boolean' value='false'/>
83 <propval name='value_authorization' type='astring'
84 value='solaris.smf.value.rmtmpfiles' />
87 <stability value='Evolving' />
91 <loctext xml:lang='C'>
92 remove temporary files
95 <pg_pattern name="options" type="application">
97 <loctext xml:lang='C'>
98 Properties that control the runtime behavior of the service.
101 <prop_pattern name="clean_vartmp" type='boolean'>
103 <loctext xml:lang='C'>
108 <loctext xml:lang='C'>
109 Remove all files and directories from /var/tmp if set to true.
113 <prop_pattern name="value_authorization" type="astring">
115 <loctext xml:lang='C'>
116 Value change authorization
120 <loctext xml:lang='C'>
121 Declares authorization needed to change values in the options properety group.