components/docker/files/docker.xml
changeset 7795 92fb0e1622f7
parent 7177 86d14f182e82
equal deleted inserted replaced
7794:4953ab4958ad 7795:92fb0e1622f7
     1 <?xml version="1.0" ?>
     1 <?xml version="1.0" ?>
     2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
     2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
     3 <!--
     3 <!--
     4  Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     4  Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     5 
     5 
     6  NOTE:  This service manifest is not editable; its contents will
     6  NOTE:  This service manifest is not editable; its contents will
     7  be overwritten by package or patch operations, including
     7  be overwritten by package or patch operations, including
     8  operating system upgrade.  Make customizations in a different
     8  operating system upgrade.  Make customizations in a different
     9  file.
     9  file.
    20       <service_fmri value='svc:/milestone/multi-user:default' />
    20       <service_fmri value='svc:/milestone/multi-user:default' />
    21     </dependency>
    21     </dependency>
    22 
    22 
    23     <dependency name='zones' grouping='require_all' restart_on='none'
    23     <dependency name='zones' grouping='require_all' restart_on='none'
    24       type='service'>
    24       type='service'>
    25       <service_fmri 
    25       <service_fmri value='svc:/system/zones:default' />
    26         value='svc:/system/zones:default' />
    26     </dependency>
       
    27 
       
    28     <dependency name='firewall' grouping='require_all' restart_on='none'
       
    29       type='service'>
       
    30       <service_fmri value='svc:/network/firewall:framework' />
    27     </dependency>
    31     </dependency>
    28 
    32 
    29     <logfile_attributes permissions='600'/>
    33     <logfile_attributes permissions='600'/>
    30 
    34 
    31     <exec_method type="method" name="start" timeout_seconds="120"
    35     <exec_method type="method" name="start" timeout_seconds="120"
    32       exec="/lib/svc/method/svc-docker %m"/>
    36       exec="/lib/svc/method/svc-docker %m"/>
    33 
    37 
    34     <exec_method type="method" name="stop" timeout_seconds="300"
    38     <exec_method type="method" name="stop" timeout_seconds="300"
    35       exec="/lib/svc/method/svc-docker %m %{restarter/contract}"/>
    39       exec="/lib/svc/method/svc-docker %m %{restarter/contract}"/>
    36  
    40 
    37     <!-- to start/stop/refresh the service -->
    41     <!-- to start/stop/refresh the service -->
    38     <property_group name='general' type='framework'>
    42     <property_group name='general' type='framework'>
    39       <propval name='action_authorization' type='astring'
    43       <propval name='action_authorization' type='astring'
    40         value='solaris.smf.manage.docker' />
    44         value='solaris.smf.manage.docker' />
    41       <propval name='value_authorization' type='astring'
    45       <propval name='value_authorization' type='astring'
    42         value='solaris.smf.value.docker' />
    46         value='solaris.smf.value.docker' />
    43     </property_group>
    47     </property_group>
    44    
    48 
    45     <property_group name="config" type="application">
    49     <property_group name="config" type="application">
    46       <propval name='http_proxy' type='astring' value=''
    50       <propval name='http_proxy' type='astring' value=''
    47         override='true'/>
    51         override='true'/>
    48       <propval name='https_proxy' type='astring' value=''
    52       <propval name='https_proxy' type='astring' value=''
    49         override='true'/>
    53         override='true'/>