rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / hpn-ssh / files / hpnssh.xml
blob03916a213d0003e195a384722d996e1008d1f23a
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4         CDDL HEADER START
6         The contents of this file are subject to the terms of the
7         Common Development and Distribution License (the "License").
8         You may not use this file except in compliance with the License.
10         You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11         or http://www.opensolaris.org/os/licensing.
12         See the License for the specific language governing permissions
13         and limitations under the License.
15         When distributing Covered Code, include this CDDL HEADER in each
16         file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17         If applicable, add the following below this CDDL HEADER, with the
18         fields enclosed by brackets "[]" replaced with your own identifying
19         information: Portions Copyright [yyyy] [name of copyright owner]
21         CDDL HEADER END
23         Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24         Use is subject to license terms.
26         Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
28         NOTE:  This service manifest is not editable; its contents will
29         be overwritten by package or patch operations, including
30         operating system upgrade.  Make customizations in a different
31         file.
32 -->
34 <service_bundle type='manifest' name='network/hpnssh'>
36 <service
37         name='network/hpnssh'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance />
45         <dependency name='fs-local'
46                 grouping='require_all'
47                 restart_on='none'
48                 type='service'>
49                 <service_fmri
50                         value='svc:/system/filesystem/local' />
51         </dependency>
53         <dependency name='fs-autofs'
54                 grouping='optional_all'
55                 restart_on='none'
56                 type='service'>
57                 <service_fmri value='svc:/system/filesystem/autofs' />
58         </dependency>
60         <dependency name='net-loopback'
61                 grouping='require_all'
62                 restart_on='none'
63                 type='service'>
64                 <service_fmri value='svc:/network/loopback' />
65         </dependency>
67         <dependency name='net-physical'
68                 grouping='require_all'
69                 restart_on='none'
70                 type='service'>
71                 <service_fmri value='svc:/network/physical' />
72         </dependency>
74         <dependency name='cryptosvc'
75                 grouping='require_all'
76                 restart_on='none'
77                 type='service'>
78                 <service_fmri value='svc:/system/cryptosvc' />
79         </dependency>
81         <dependency name='utmp'
82                 grouping='require_all'
83                 restart_on='none'
84                 type='service'>
85                 <service_fmri value='svc:/system/utmp' />
86         </dependency>
88         <dependency name='network_ipfilter'
89                 grouping='optional_all'
90                 restart_on='error'
91                 type='service'>
92                 <service_fmri value='svc:/network/ipfilter:default' />
93         </dependency>
95         <dependency name='config_data'
96                 grouping='require_all'
97                 restart_on='restart'
98                 type='path'>
99                 <service_fmri
100                     value='file://localhost/etc/hpnssh/sshd_config' />
101         </dependency>
103         <dependent
104                 name='hpnssh_multi-user-server'
105                 grouping='optional_all'
106                 restart_on='none'>
107                         <service_fmri
108                             value='svc:/milestone/multi-user-server' />
109         </dependent>
111         <exec_method
112                 type='method'
113                 name='start'
114                 exec='/lib/svc/method/hpnsshd start'
115                 timeout_seconds='60'>
116                 <method_context security_flags="current"/>
117         </exec_method>
119         <exec_method
120                 type='method'
121                 name='stop'
122                 exec=':kill'
123                 timeout_seconds='60' />
125         <exec_method
126                 type='method'
127                 name='refresh'
128                 exec=':kill -HUP'
129                 timeout_seconds='60' />
131         <property_group name='startd'
132                 type='framework'>
133                 <!-- sub-process core dumps shouldn't restart session -->
134                 <propval name='ignore_error'
135                     type='astring' value='core,signal' />
136         </property_group>
138         <property_group name='general' type='framework'>
139                 <!-- to start stop sshd -->
140                 <propval name='action_authorization' type='astring'
141                         value='solaris.smf.manage.ssh' />
142         </property_group>
144         <property_group name='firewall_context' type='com.sun,fw_definition'>
145                 <propval name='name' type='astring' value='hpnssh' />
146                 <propval name='ipf_method' type='astring'
147                     value='/lib/svc/method/hpnsshd ipfilter' />
148         </property_group>
150         <property_group name='firewall_config' type='com.sun,fw_configuration'>
151                 <propval name='policy' type='astring' value='use_global' />
152                 <propval name='block_policy' type='astring'
153                         value='use_global' />
154                 <propval name='apply_to' type='astring' value='' />
155                 <propval name='apply_to_6' type='astring' value='' />
156                 <propval name='exceptions' type='astring' value='' />
157                 <propval name='exceptions_6' type='astring' value='' />
158                 <propval name='target' type='astring' value='' />
159                 <propval name='target_6' type='astring' value='' />
160                 <propval name='value_authorization' type='astring'
161                         value='solaris.smf.value.firewall.config' />
162         </property_group>
164         <stability value='Unstable' />
166         <template>
167                 <common_name>
168                         <loctext xml:lang='C'>
169                                 HPN-SSH server
170                         </loctext>
171                 </common_name>
172                 <documentation>
173                         <manpage title='hpnsshd' section='8' manpath='/usr/share/man' />
174                 </documentation>
175         </template>
177 </service>
179 </service_bundle>