8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / svr4pkg / pkgscripts / pkgserv.xml
blobfdc2102d7ce48ce145d4065f1fb7ff11fca20631
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
5    
6     CDDL HEADER START
7    
8     The contents of this file are subject to the terms of the
9     Common Development and Distribution License (the "License").
10     You may not use this file except in compliance with the License.
12     You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13     or http://www.opensolaris.org/os/licensing.
14     See the License for the specific language governing permissions
15     and limitations under the License.
17     When distributing Covered Code, include this CDDL HEADER in each
18     file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19     If applicable, add the following below this CDDL HEADER, with the
20     fields enclosed by brackets "[]" replaced with your own identifying
21     information: Portions Copyright [yyyy] [name of copyright owner]
23     CDDL HEADER END
25     Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
26     Use is subject to license terms.
28     NOTE:  This service manifest is not editable; its contents will
29     be overwritten by package or patch operations, including
30     operating system upgrade.  Make customizations in a different
31     file.
32 -->
34 <service_bundle type='manifest' name='SUNWpkgcmdsr:pkgserv'>
36 <service
37         name='system/pkgserv'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='true' />
43         <single_instance />
45         <dependency
46                 name='usr'
47                 type='service'
48                 grouping='require_all'
49                 restart_on='none'>
50                 <service_fmri value='svc:/system/filesystem/minimal' />
51         </dependency>
53         <exec_method
54                 type='method'
55                 name='start'
56                 exec='/usr/bin/pkgadm sync'
57                 timeout_seconds='300'>
58         </exec_method>
60         <exec_method
61                 type='method'
62                 name='stop'
63                 exec='/usr/bin/pkgadm sync'
64                 timeout_seconds='300'>
65         </exec_method>
67         <property_group name='startd' type='framework'>
68                 <propval name='duration' type='astring'
69                         value='transient' />
70         </property_group>
72         <property_group name='options' type='application'>
73         </property_group>
75         <stability value='Unstable' />
77         <template>
78                 <common_name>
79                         <loctext xml:lang='C'>
80                         Flush package command database to disk (see pkgadm(1m)).
81                         </loctext>
82                 </common_name>
83         </template>
84 </service>
86 </service_bundle>