|
1 <?xml version="1.0" ?> |
|
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> |
|
3 <!-- |
|
4 Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
5 |
|
6 NOTE: This service manifest is not editable; its contents will |
|
7 be overwritten by package or patch operations, including |
|
8 operating system upgrade. Make customizations in a different |
|
9 file. |
|
10 --> |
|
11 <service_bundle type="manifest" name="docker"> |
|
12 |
|
13 <service version="1" type="service" |
|
14 name="application/docker/docker"> |
|
15 |
|
16 <create_default_instance enabled="false"/> |
|
17 |
|
18 <dependency name='multiuser' grouping='require_all' restart_on='none' |
|
19 type='service'> |
|
20 <service_fmri value='svc:/milestone/multi-user:default' /> |
|
21 </dependency> |
|
22 |
|
23 <dependency name='zones' grouping='require_all' restart_on='none' |
|
24 type='service'> |
|
25 <service_fmri |
|
26 value='svc:/system/zones:default' /> |
|
27 </dependency> |
|
28 |
|
29 <logfile_attributes permissions='600'/> |
|
30 |
|
31 <exec_method type="method" name="start" timeout_seconds="120" |
|
32 exec="/lib/svc/method/svc-docker %m"/> |
|
33 |
|
34 <exec_method type="method" name="stop" timeout_seconds="60" |
|
35 exec="/lib/svc/method/svc-docker %m %{restarter/contract}"/> |
|
36 |
|
37 <!-- to start/stop/refresh the service --> |
|
38 <property_group name='general' type='framework'> |
|
39 <propval name='action_authorization' type='astring' |
|
40 value='solaris.smf.manage.docker' /> |
|
41 <propval name='value_authorization' type='astring' |
|
42 value='solaris.smf.value.docker' /> |
|
43 </property_group> |
|
44 |
|
45 <property_group name="config" type="application"> |
|
46 <propval name='http_proxy' type='astring' value='' |
|
47 override='true'/> |
|
48 <propval name='https_proxy' type='astring' value='' |
|
49 override='true'/> |
|
50 <propval name='fsname' type='astring' value='' |
|
51 override='true'/> |
|
52 <propval name='debug' type='boolean' value='false' /> |
|
53 <propval name='action_authorization' type='astring' |
|
54 value='solaris.smf.manage.docker' /> |
|
55 <propval name='value_authorization' type='astring' |
|
56 value='solaris.smf.value.docker' /> |
|
57 </property_group> |
|
58 |
|
59 <template> |
|
60 <common_name> |
|
61 <loctext xml:lang="C"> |
|
62 Docker Container Engine for Solaris |
|
63 </loctext> |
|
64 </common_name> |
|
65 <description> |
|
66 <loctext xml:lang="C"> |
|
67 Executes and monitors the Docker Container Engine. |
|
68 </loctext> |
|
69 </description> |
|
70 </template> |
|
71 </service> |
|
72 </service_bundle> |