Print this page
2837 - remove print/lp* from gate and use CUPS from userland


  27 
  28 <service_bundle type='manifest' name='SUNWipplr:ipp-listener'>
  29 
  30 <service
  31     name='application/print/ipp-listener'
  32     type='service'
  33     version='1'>
  34 
  35         <create_default_instance enabled='false' />
  36 
  37         <dependency name='print-service'
  38             grouping='require_any'
  39             restart_on='refresh'
  40             type='service'>
  41             <service_fmri value='svc:/application/print/server' />
  42         </dependency>
  43 
  44         <exec_method
  45             type='method'
  46             name='start'
  47             exec='/usr/apache/bin/httpd -f /etc/apache/httpd-standalone-ipp.conf'
  48             timeout_seconds='10' />
  49 
  50         <exec_method
  51             type='method'
  52             name='stop'
  53             exec='/bin/pkill -f httpd-standalone-ipp.conf'
  54             timeout_seconds='5' />
  55 
  56         <property_group name='general' type='framework'>
  57                 <!-- to start/stop IPP listening service-->
  58                 <propval name='action_authorization' type='astring'
  59                         value='solaris.print.admin' />
  60                 <propval name='value_authorization' type='astring'
  61                         value='solaris.print.admin' />
  62         </property_group>
  63 
  64         <property_group name='firewall_context' type='com.sun,fw_definition'>
  65                 <propval name='ipf_method' type='astring'
  66                         value='/lib/svc/method/print-svc ipfilter svc:/application/print/server:default' />
  67         </property_group>


  27 
  28 <service_bundle type='manifest' name='SUNWipplr:ipp-listener'>
  29 
  30 <service
  31     name='application/print/ipp-listener'
  32     type='service'
  33     version='1'>
  34 
  35         <create_default_instance enabled='false' />
  36 
  37         <dependency name='print-service'
  38             grouping='require_any'
  39             restart_on='refresh'
  40             type='service'>
  41             <service_fmri value='svc:/application/print/server' />
  42         </dependency>
  43 
  44         <exec_method
  45             type='method'
  46             name='start'
  47             exec='/usr/apache2/2.2/bin/httpd -f /etc/apache2/2.2/httpd-standalone-ipp.conf'
  48             timeout_seconds='10' />
  49 
  50         <exec_method
  51             type='method'
  52             name='stop'
  53             exec='/bin/pkill -f httpd-standalone-ipp.conf'
  54             timeout_seconds='5' />
  55 
  56         <property_group name='general' type='framework'>
  57                 <!-- to start/stop IPP listening service-->
  58                 <propval name='action_authorization' type='astring'
  59                         value='solaris.print.admin' />
  60                 <propval name='value_authorization' type='astring'
  61                         value='solaris.print.admin' />
  62         </property_group>
  63 
  64         <property_group name='firewall_context' type='com.sun,fw_definition'>
  65                 <propval name='ipf_method' type='astring'
  66                         value='/lib/svc/method/print-svc ipfilter svc:/application/print/server:default' />
  67         </property_group>