1 <?xml version="1.0"?> |
|
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
3 <!-- |
|
4 |
|
5 Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
|
6 |
|
7 Permission is hereby granted, free of charge, to any person obtaining a |
|
8 copy of this software and associated documentation files (the "Software"), |
|
9 to deal in the Software without restriction, including without limitation |
|
10 the rights to use, copy, modify, merge, publish, distribute, sublicense, |
|
11 and/or sell copies of the Software, and to permit persons to whom the |
|
12 Software is furnished to do so, subject to the following conditions: |
|
13 |
|
14 The above copyright notice and this permission notice (including the next |
|
15 paragraph) shall be included in all copies or substantial portions of the |
|
16 Software. |
|
17 |
|
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
19 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
20 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
|
21 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
22 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
24 DEALINGS IN THE SOFTWARE. |
|
25 |
|
26 --> |
|
27 |
|
28 <service_bundle type='manifest' name='SUNWxwplr:x11-server'> |
|
29 |
|
30 <service |
|
31 name='application/x11/x11-server' |
|
32 type='service' |
|
33 version='1'> |
|
34 |
|
35 <!-- Need / & /usr filesystems mounted, /var mounted read/write --> |
|
36 <dependency |
|
37 name='fs-local' |
|
38 type='service' |
|
39 grouping='require_all' |
|
40 restart_on='none'> |
|
41 <service_fmri value='svc:/system/filesystem/local' /> |
|
42 </dependency> |
|
43 |
|
44 <dependency |
|
45 name='network-service' |
|
46 grouping='require_all' |
|
47 restart_on='none' |
|
48 type='service'> |
|
49 <service_fmri value='svc:/network/service' /> |
|
50 </dependency> |
|
51 |
|
52 <dependency |
|
53 name='name-services' |
|
54 grouping='require_all' |
|
55 restart_on='refresh' |
|
56 type='service'> |
|
57 <service_fmri value='svc:/milestone/name-services' /> |
|
58 </dependency> |
|
59 |
|
60 <exec_method |
|
61 type='method' |
|
62 name='start' |
|
63 exec='/lib/svc/method/x11-server -d 0 -c %i %m' |
|
64 timeout_seconds='0'> |
|
65 </exec_method> |
|
66 |
|
67 <exec_method |
|
68 type='method' |
|
69 name='stop' |
|
70 exec=':kill -TERM' |
|
71 timeout_seconds='10'> |
|
72 </exec_method> |
|
73 |
|
74 <property_group name='general' type='framework'> |
|
75 <!-- manage server state --> |
|
76 <propval name='action_authorization' type='astring' |
|
77 value='solaris.smf.manage.x11' /> |
|
78 </property_group> |
|
79 |
|
80 <property_group name='options' type='application'> |
|
81 <stability value='Evolving' /> |
|
82 <propval name='server' type='astring' |
|
83 value='@DEFAULT_XSERVER@' /> |
|
84 <propval name='server_args' type='astring' |
|
85 value='' /> |
|
86 <property name='default_depth' type='integer' /> |
|
87 <propval name='tcp_listen' type='boolean' |
|
88 value='false' /> |
|
89 <propval name='value_authorization' type='astring' |
|
90 value='solaris.smf.manage.x11' /> |
|
91 <propval name='display_0_on_console' type='boolean' |
|
92 value='false' /> |
|
93 </property_group> |
|
94 |
|
95 <stability value='Evolving' /> |
|
96 |
|
97 <template> |
|
98 <common_name> |
|
99 <loctext xml:lang='C'> |
|
100 X Window System server |
|
101 </loctext> |
|
102 </common_name> |
|
103 <documentation> |
|
104 <manpage title='Xserver' section='1' manpath='/usr/share/man' /> |
|
105 <manpage title='Xorg' section='1' manpath='/usr/share/man' /> |
|
106 </documentation> |
|
107 </template> |
|
108 </service> |
|
109 |
|
110 </service_bundle> |
|
111 |
|