ssh.xml revision 5686
2032N/A<?xml version="1.0"?>
2032N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2032N/A<!--
2032N/ACopyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
2032N/A
2032N/A NOTE: This service manifest is not editable; its contents will
2032N/A be overwritten by package or patch operations, including
2032N/A operating system upgrade. Make customizations in a different
2032N/A file.
2032N/A-->
2032N/A
2032N/A<service_bundle type='manifest' name='SUNWsshdr:ssh'>
2032N/A
2032N/A<service
2032N/A name='network/ssh'
2032N/A type='service'
2032N/A version='1'>
2032N/A
2032N/A <create_default_instance enabled='true' />
2032N/A
2032N/A <single_instance />
2032N/A
6263N/A <dependency name='fs-min'
2032N/A grouping='require_all'
2032N/A restart_on='none'
2032N/A type='service'>
2032N/A <service_fmri
6613N/A value='svc:/system/filesystem/minimal' />
2032N/A </dependency>
2032N/A
2032N/A <dependency name='net-loopback'
2032N/A grouping='require_all'
2032N/A restart_on='none'
2032N/A type='service'>
6613N/A <service_fmri value='svc:/network/loopback' />
6613N/A </dependency>
2032N/A
2032N/A <dependency name='net-physical'
6613N/A grouping='require_all'
6613N/A restart_on='none'
2032N/A type='service'>
2032N/A <service_fmri value='svc:/network/physical:default' />
2032N/A </dependency>
2032N/A
2032N/A <dependency name='utmp'
2032N/A grouping='require_all'
6263N/A restart_on='none'
6263N/A type='service'>
6263N/A <service_fmri value='svc:/system/utmp' />
6263N/A </dependency>
<dependency name='config_data'
grouping='require_all'
restart_on='restart'
type='path'>
<service_fmri
value='file://localhost/etc/ssh/sshd_config' />
</dependency>
<dependent
name='ssh_multi-user-server'
grouping='optional_all'
restart_on='none'>
<service_fmri
value='svc:/milestone/multi-user-server' />
</dependent>
<dependent
name='ssh-self-assembly-complete'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/self-assembly-complete' />
</dependent>
<method_context>
<method_credential user='root' clearance='ADMIN_HIGH' />
</method_context>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/sshd start'
timeout_seconds='60'/>
<exec_method
type='method'
name='stop'
exec=':kill'
timeout_seconds='60' />
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/sshd restart'
timeout_seconds='60' />
<exec_method
type='method'
name='unconfigure'
exec='/lib/svc/method/sshd -u'
timeout_seconds='60' />
<property_group name='startd'
type='framework'>
<!-- sub-process core dumps shouldn't restart session -->
<propval name='ignore_error'
type='astring' value='core,signal' />
</property_group>
<property_group name='general' type='framework'>
<!-- to start stop sshd -->
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.ssh' />
</property_group>
<property_group name='sysconfig' type='sysconfig'>
<stability value='Unstable' />
<propval name='group' type='astring' value='network' />
<propval name='reconfigurable' type='boolean' value='false' />
</property_group>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
SSH server
</loctext>
</common_name>
<documentation>
<manpage title='sshd' section='1M' manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>