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