1<?xml version="1.0"?> 2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3<!-- 4 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. 11 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. 16 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] 22 23 CDDL HEADER END 24 25 Copyright 2009 Sun Microsystems, Inc. All rights reserved. 26 Use is subject to license terms. 27 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--> 33 34<service_bundle type='manifest' name='SUNWpkgcmdsr:pkgserv'> 35 36<service 37 name='system/pkgserv' 38 type='service' 39 version='1'> 40 41 <create_default_instance enabled='true' /> 42 43 <single_instance /> 44 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> 52 53 <exec_method 54 type='method' 55 name='start' 56 exec='/usr/bin/pkgadm sync' 57 timeout_seconds='300'> 58 </exec_method> 59 60 <exec_method 61 type='method' 62 name='stop' 63 exec='/usr/bin/pkgadm sync' 64 timeout_seconds='300'> 65 </exec_method> 66 67 <property_group name='startd' type='framework'> 68 <propval name='duration' type='astring' 69 value='transient' /> 70 </property_group> 71 72 <property_group name='options' type='application'> 73 </property_group> 74 75 <stability value='Unstable' /> 76 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> 85 86</service_bundle> 87