components/lighttpd/Solaris/http-lighttpd14.xml
changeset 1571 7422f066784c
parent 331 5001b63ddc8a
equal deleted inserted replaced
1570:7d7b05000b1d 1571:7422f066784c
    20 CDDL HEADER END
    20 CDDL HEADER END
    21 -->
    21 -->
    22 
    22 
    23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    24 <!--
    24 <!--
    25     Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
    25     Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
    26 -->
    26 -->
    27 
    27 
    28 <service_bundle type='manifest' name='SUNWlighttpd14r:lighttpd'>
    28 <service_bundle type='manifest' name='SUNWlighttpd14r:lighttpd'>
    29 
    29 
    30 <service
    30 <service
    74        </dependency>
    74        </dependency>
    75 
    75 
    76        <exec_method
    76        <exec_method
    77            type='method'
    77            type='method'
    78            name='start'
    78            name='start'
    79            exec='/lib/svc/method/http-lighttpd14 start'
    79            exec='/usr/lighttpd/1.4/sbin/lighttpd -f /etc/lighttpd/1.4/lighttpd.conf'
    80            timeout_seconds='60'>
    80            timeout_seconds='60'>
    81            <method_context />
    81            <method_context>
       
    82                <method_credential
       
    83                    user='webservd' group='webservd'
       
    84                    privileges='basic,net_privaddr'/>
       
    85            </method_context>
    82       </exec_method>
    86       </exec_method>
    83 
    87 
    84       <exec_method
    88       <exec_method
    85            type='method'
    89            type='method'
    86            name='stop'
    90            name='stop'
    87            exec='/lib/svc/method/http-lighttpd14 stop'
    91            exec=':kill'
    88            timeout_seconds='60'>
    92            timeout_seconds='60'>
    89            <method_context />
    93            <method_context />
    90       </exec_method>
    94       </exec_method>
    91 
    95 
    92        <exec_method
    96        <exec_method
    93            type='method'
    97            type='method'
    94            name='refresh'
    98            name='refresh'
    95            exec='/lib/svc/method/http-lighttpd14 refresh'
    99            exec=':kill -HUP'
    96            timeout_seconds='60'>
   100            timeout_seconds='60'>
    97            <method_context />
   101            <method_context>
       
   102                <method_credential
       
   103                    user='webservd' group='webservd'
       
   104                    privileges='basic,net_privaddr'/>
       
   105            </method_context>
    98       </exec_method>
   106       </exec_method>
    99 
   107 
   100       <property_group name='httpd' type='application'>
   108       <property_group name='httpd' type='application'>
   101         <stability value='Evolving' />
   109         <stability value='Evolving' />
   102         <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />
   110         <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />