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