27                 </dependency>
  28 
  29                 <dependency
  30                 name='config-file'
  31                 grouping='require_all'
  32                 restart_on='restart'
  33                 type='path'>
  34                 <service_fmri
  35                 value='file://localhost/etc/ssh/sshd_config' />
  36                 </dependency>
  37                 
  38                 <exec_method name='start' type='method'
  39                 exec='/lib/svc/method/sshd start'
  40                 timeout_seconds='60' />
  41                 
  42                 <exec_method name='stop' type='method'
  43                 exec=':kill'
  44                 timeout_seconds='60' />
  45                 
  46                 <exec_method name='refresh' type='method'
  47                 exec='/lib/svc/method/sshd restart'
  48                 timeout_seconds='60' />
  49 
  50                 <property_group name='general' type='framework'>
  51                         <propval name='action_authorization' type='astring'
  52                         value='omnios.smf.manage.openssh' />
  53                 </property_group>
  54 
  55                 <stability value='Evolving' />
  56 
  57                 <template>
  58                         <common_name>
  59                                 <loctext xml:lang='C'>OpenSSH Server</loctext>
  60                         </common_name>
  61 
  62                         <documentation>
  63                                 <manpage title='sshd' section='8' />
  64                                 <doc_link name='openssh.com' uri='http://openssh.com' />
  65                         </documentation>
  66                 </template>
  67         </service>
  68 </service_bundle>
  | 
 
 
  27                 </dependency>
  28 
  29                 <dependency
  30                 name='config-file'
  31                 grouping='require_all'
  32                 restart_on='restart'
  33                 type='path'>
  34                 <service_fmri
  35                 value='file://localhost/etc/ssh/sshd_config' />
  36                 </dependency>
  37                 
  38                 <exec_method name='start' type='method'
  39                 exec='/lib/svc/method/sshd start'
  40                 timeout_seconds='60' />
  41                 
  42                 <exec_method name='stop' type='method'
  43                 exec=':kill'
  44                 timeout_seconds='60' />
  45                 
  46                 <exec_method name='refresh' type='method'
  47                 exec=':kill -HUP'
  48                 timeout_seconds='60' />
  49 
  50                 <property_group name='general' type='framework'>
  51                         <propval name='action_authorization' type='astring'
  52                         value='omnios.smf.manage.openssh' />
  53                 </property_group>
  54 
  55                 <stability value='Evolving' />
  56 
  57                 <template>
  58                         <common_name>
  59                                 <loctext xml:lang='C'>OpenSSH Server</loctext>
  60                         </common_name>
  61 
  62                         <documentation>
  63                                 <manpage title='sshd' section='1M' />
  64                                 <doc_link name='openssh.com' uri='http://openssh.com' />
  65                         </documentation>
  66                 </template>
  67         </service>
  68 </service_bundle>
  |