- (dtucker) [contrib/aix/buildbff.sh] Fix creation of ssh_prng_cmds.default
[openssh-git.git] / openssh.xml.in
blob8afe1d366c482a13f88723a015b9bc37344b976b
1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <!--
4 Copyright (c) 2006 Chad Mynhier.
6 Permission to use, copy, modify, and distribute this software for any
7 purpose with or without fee is hereby granted, provided that the above
8 copyright notice and this permission notice appear in all copies.
10 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 -->
19 <service_bundle type='manifest' name='OpenSSH server'>
21 <service
22 name='site/__SYSVINIT_NAME__'
23 type='service'
24 version='1'>
26 <!--
27 We default to disabled so administrator can decide to enable or not.
28 -->
29 <create_default_instance enabled='false'/>
31 <single_instance/>
33 <dependency
34 name='filesystem-local'
35 grouping='require_all'
36 restart_on='none'
37 type='service'>
38 <service_fmri value='svc:/system/filesystem/local'/>
39 </dependency>
41 <dependency
42 name='network'
43 grouping='require_all'
44 restart_on='none'
45 type='service'>
46 <service_fmri value='svc:/milestone/network'/>
47 </dependency>
49 <dependent
50 name='multi-user-server'
51 restart_on='none'
52 grouping='optional_all'>
53 <service_fmri value='svc:/milestone/multi-user-server'/>
54 </dependent>
56 <exec_method
57 name='start'
58 type='method'
59 exec='__SMF_METHOD_DIR__/__SYSVINIT_NAME__ start'
60 timeout_seconds='60'>
61 <method_context/>
62 </exec_method>
64 <exec_method
65 name='stop'
66 type='method'
67 exec=':kill'
68 timeout_seconds='60'>
69 <method_context/>
70 </exec_method>
72 <property_group
73 name='startd'
74 type='framework'>
75 <propval name='ignore_error' type='astring' value='core,signal'/>
76 </property_group>
78 <template>
79 <common_name>
80 <loctext xml:lang='C'>OpenSSH server</loctext>
81 </common_name>
82 <documentation>
83 <manpage
84 title='sshd'
85 section='1M'
86 manpath='@prefix@/man'/>
87 </documentation>
88 </template>
89 </service>
90 </service_bundle>