author | an230044 |
Mon, 27 Sep 2010 11:32:21 +0000 | |
branch | opensolaris-2009-06 |
changeset 20102 | 2d19c462bb98 |
parent 8267 | 49b95be0367c |
child 21872 | 693f0cf21170 |
permissions | -rw-r--r-- |
6340 | 1 |
<?xml version="1.0"?> |
2 |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
3 |
<!-- |
|
4 |
Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
|
5 |
Use is subject to license terms. |
|
6 |
||
7 |
CDDL HEADER START |
|
8 |
||
9 |
The contents of this file are subject to the terms of the |
|
10 |
Common Development and Distribution License, Version 1.0 only |
|
11 |
(the "License"). You may not use this file except in compliance |
|
12 |
with the License. |
|
13 |
||
14 |
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
15 |
or http://www.opensolaris.org/os/licensing. |
|
16 |
See the License for the specific language governing permissions |
|
17 |
and limitations under the License. |
|
18 |
||
19 |
CDDL HEADER END |
|
20 |
||
21 |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. |
|
22 |
Use is subject to license terms. |
|
23 |
||
24 |
postrun.xml $rev$ |
|
25 |
||
26 |
Service manifest for running postponed pkg postinstall commands |
|
27 |
--> |
|
28 |
||
6353 | 29 |
<service_bundle type='manifest' name='SUNWpostrun-root:postrun'> |
6340 | 30 |
|
31 |
<service |
|
32 |
name='system/postrun' |
|
33 |
type='service' |
|
34 |
version='1'> |
|
35 |
||
36 |
<create_default_instance enabled='true' /> |
|
37 |
||
38 |
<single_instance /> |
|
39 |
||
40 |
<dependency |
|
41 |
name='usr' |
|
42 |
type='service' |
|
43 |
grouping='require_all' |
|
44 |
restart_on='none'> |
|
45 |
<service_fmri value='svc:/system/filesystem/local' /> |
|
46 |
</dependency> |
|
47 |
||
8267
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
48 |
<!-- |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
49 |
If sysidtool alters the time zone, it will reboot(1M) the server |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
50 |
or zone. This avoids doing package post-processing when there |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
51 |
is a high likelihood of an abrubt reboot. |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
52 |
--> |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
53 |
<dependency |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
54 |
name='sysidtool' |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
55 |
grouping='optional_all' |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
56 |
restart_on='none' |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
57 |
type='service'> |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
58 |
<service_fmri |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
59 |
value='svc:/system/sysidtool:system' /> |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
60 |
</dependency> |
49b95be0367c
2006-10-04 Mike Gerdts <mgerdts at gmail dot com>
lp117937
parents:
7650
diff
changeset
|
61 |
|
6340 | 62 |
<exec_method |
63 |
type='method' |
|
64 |
name='start' |
|
7650
d6a8553525c1
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
65 |
exec='/var/lib/postrun/postrun-runq' |
7540
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6353
diff
changeset
|
66 |
timeout_seconds='1800'> |
6340 | 67 |
<method_context> |
68 |
<method_credential user='root' group='root' /> |
|
69 |
</method_context> |
|
70 |
</exec_method> |
|
71 |
||
72 |
<property_group name='startd' type='framework'> |
|
73 |
<propval name='duration' type='astring' |
|
74 |
value='transient' /> |
|
75 |
</property_group> |
|
76 |
||
77 |
<stability value='Unstable' /> |
|
78 |
||
79 |
<template> |
|
80 |
<common_name> |
|
81 |
<loctext xml:lang='C'>Postponed package postinstall command execution |
|
82 |
</loctext> |
|
83 |
</common_name> |
|
84 |
</template> |
|
85 |
</service> |
|
86 |
||
87 |
</service_bundle> |