author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Tue, 23 Aug 2016 18:13:17 -0700 | |
changeset 6676 | 447ee8f869db |
permissions | -rw-r--r-- |
6676
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
<?xml version="1.0" ?> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
<!DOCTYPE service_bundle |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
<!-- |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
CDDL HEADER START |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
The contents of this file are subject to the terms of the |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
Common Development and Distribution License (the "License"). |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
You may not use this file except in compliance with the License. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
or http://www.opensolaris.org/os/licensing. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
See the License for the specific language governing permissions |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
and limitations under the License. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
When distributing Covered Code, include this CDDL HEADER in each |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
If applicable, add the following below this CDDL HEADER, with the |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
fields enclosed by brackets "[]" replaced with your own identifying |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
information: Portions Copyright [yyyy] [name of copyright owner] |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
CDDL HEADER END |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
NOTE: This service manifest is not editable; its contents will |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
be overwritten by package or patch operations, including |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
operating system upgrade. Make customizations in a different |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
file. |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
--> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
<service_bundle type="manifest" name="system/colord"> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
<service version="1" type="service" name="system/colord"> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
34 |
<create_default_instance enabled='true' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
35 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
<single_instance /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
37 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
<!-- Need / & /usr filesystems mounted --> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
39 |
<dependency |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
40 |
name='usr' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
41 |
type='service' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
grouping='require_all' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
restart_on='none'> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
<service_fmri value='svc:/system/filesystem/minimal' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
</dependency> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
<dependency |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
name='dbus' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
49 |
type='service' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
grouping='require_all' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
51 |
restart_on='restart'> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
52 |
<service_fmri value='svc:/system/dbus' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
53 |
</dependency> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
54 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
<!-- Need to be run before gdm is started --> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
56 |
<dependent |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
57 |
name='colord_gdm' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
grouping='optional_all' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
59 |
restart_on='none'> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
60 |
<service_fmri value='svc:/application/graphical-login/gdm' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
61 |
</dependent> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
62 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
63 |
<method_context> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
64 |
<method_credential user='daemon' group='daemon' |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
65 |
privileges='basic,{zone}:/var/lib/colord/*' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
66 |
</method_context> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
67 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
68 |
<exec_method timeout_seconds="60" type="method" name="start" |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
69 |
exec="/lib/svc/method/svc-colord start"/> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
70 |
<exec_method timeout_seconds="60" type="method" name="stop" |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
71 |
exec=":kill"/> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
72 |
<exec_method timeout_seconds="60" type="method" name="refresh" |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
73 |
exec=":true"/> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
74 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
75 |
<stability value='Unstable' /> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
76 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
77 |
<template> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
78 |
<common_name> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
79 |
<loctext xml:lang="C">Colord system service |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
80 |
</loctext> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
81 |
</common_name> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
82 |
|
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
83 |
</template> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
84 |
</service> |
447ee8f869db
23245618 Deliver colord 1.1.8 in Solaris
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
85 |
</service_bundle> |