diff options
Diffstat (limited to 'debian/openssh-server.smf/manifest/network/ssh.xml')
-rw-r--r-- | debian/openssh-server.smf/manifest/network/ssh.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/debian/openssh-server.smf/manifest/network/ssh.xml b/debian/openssh-server.smf/manifest/network/ssh.xml new file mode 100644 index 0000000..2bb16fe --- /dev/null +++ b/debian/openssh-server.smf/manifest/network/ssh.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> +<service_bundle type="manifest" name="OpenSSH server"> + <service name="network/ssh" type="service" version="1"> + <instance name="default" enabled="true"> + <dependency name="fs-local" grouping="require_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/filesystem/local"/> + </dependency> + <dependency name="net-loopback" grouping="require_all" restart_on="none" type="service"> + <service_fmri value="svc:/network/loopback"/> + </dependency> + <dependency name="net-physical" grouping="require_all" restart_on="none" type="service"> + <service_fmri value="svc:/network/physical"/> + </dependency> + <dependency name="config_data" grouping="require_all" restart_on="restart" type="path"> + <service_fmri value="file://localhost/etc/ssh/sshd_config"/> + </dependency> + <dependency name="fs-autofs" grouping="optional_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/filesystem/autofs"/> + </dependency> + <dependency name="cryptosvc" grouping="optional_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/cryptosvc"/> + </dependency> + <dependency name="network_ipfilter" grouping="optional_all" restart_on="error" type="service"> + <service_fmri value="svc:/network/ipfilter:default"/> + </dependency> + <dependency name="utmp" grouping="optional_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/utmp"/> + </dependency> + <dependent name="ssh_multi-user-server" grouping="optional_all" restart_on="none"> + <service_fmri value="svc:/milestone/multi-user-server"/> + </dependent> + <exec_method type="method" name="start" exec="/lib/svc/method/openssh start" timeout_seconds="30"/> + <exec_method type="method" name="stop" exec=":kill" timeout_seconds="30"/> + <exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="30"/> + <property_group name="startd" type="framework"> + <propval name="ignore_error" type="astring" value="core,signal"/> + </property_group> + <property_group name="package" type="framework"> + <propval name="upgrade" type="astring" value="restart"/> + </property_group> + <property_group name="general" type="framework"> + <propval name="action_authorization" type="astring" value="solaris.smf.manage.ssh"/> + </property_group> + <!-- See man svc.ipfd --> + <property_group name="firewall_context" type="com.sun,fw_definition"> + <propval name="name" type="astring" value="ssh"/> + <propval name="ipf_method" type="astring" value="/lib/svc/method/network-ssh ipfilter"/> + </property_group> + <property_group name="firewall_config" type="com.sun,fw_configuration"> + <propval name="policy" type="astring" value="use_global"/> + <propval name="apply_to" type="astring" value=""/> + <propval name="exceptions" type="astring" value=""/> + <propval name="value_authorization" type="astring" value="solaris.smf.value.firewall.config"/> + </property_group> + <template> + <common_name> + <loctext xml:lang="C"> + OpenSSH server + </loctext> + </common_name> + <documentation> + <manpage title="sshd" section="8"/> + </documentation> + </template> + </instance> + <stability value="Stable"/> + </service> +</service_bundle> |