Print this page
5166 sendmail package should be replaceable
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>


  43         <single_instance />
  44 
  45         <!--
  46             Add a dependency on SUNWfmd being installed
  47         -->
  48         <dependency
  49             name='SUNWfmd'
  50             grouping='require_all'
  51             restart_on='none'
  52             type='path'>
  53                 <service_fmri value='file://localhost/usr/lib/fm/notify/smtp-notify' />
  54         </dependency>
  55 
  56         <dependency
  57             name='startup_req'
  58             grouping='require_all'
  59             restart_on='none'
  60             type='service'>
  61                 <service_fmri value='svc:/milestone/multi-user:default' />
  62                 <service_fmri value='svc:/system/fmd:default' />
  63                 <service_fmri value='svc:/network/sendmail-client:default' />
  64         </dependency>
  65 
  66         <exec_method
  67             type='method'
  68             name='start'
  69             exec='/usr/lib/fm/notify/smtp-notify'
  70             timeout_seconds='0' />
  71 
  72         <exec_method
  73             type='method'
  74             name='stop'
  75             exec=':kill'
  76             timeout_seconds='60' />
  77 
  78         <exec_method
  79                 type='method'
  80                 name='refresh'
  81                 exec=':kill -HUP'
  82                 timeout_seconds='30'>
  83                 <method_context>




  43         <single_instance />
  44 
  45         <!--
  46             Add a dependency on SUNWfmd being installed
  47         -->
  48         <dependency
  49             name='SUNWfmd'
  50             grouping='require_all'
  51             restart_on='none'
  52             type='path'>
  53                 <service_fmri value='file://localhost/usr/lib/fm/notify/smtp-notify' />
  54         </dependency>
  55 
  56         <dependency
  57             name='startup_req'
  58             grouping='require_all'
  59             restart_on='none'
  60             type='service'>
  61                 <service_fmri value='svc:/milestone/multi-user:default' />
  62                 <service_fmri value='svc:/system/fmd:default' />

  63         </dependency>
  64 
  65         <exec_method
  66             type='method'
  67             name='start'
  68             exec='/usr/lib/fm/notify/smtp-notify'
  69             timeout_seconds='0' />
  70 
  71         <exec_method
  72             type='method'
  73             name='stop'
  74             exec=':kill'
  75             timeout_seconds='60' />
  76 
  77         <exec_method
  78                 type='method'
  79                 name='refresh'
  80                 exec=':kill -HUP'
  81                 timeout_seconds='30'>
  82                 <method_context>