diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /openssh.xml.in | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'openssh.xml.in')
-rw-r--r-- | openssh.xml.in | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/openssh.xml.in b/openssh.xml.in new file mode 100644 index 000000000..2fcdea0a1 --- /dev/null +++ b/openssh.xml.in | |||
@@ -0,0 +1,90 @@ | |||
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. | ||
5 | |||
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. | ||
9 | |||
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 | --> | ||
18 | |||
19 | <service_bundle type='manifest' name='OpenSSH server'> | ||
20 | |||
21 | <service | ||
22 | name='site/openssh' | ||
23 | type='service' | ||
24 | version='1'> | ||
25 | |||
26 | <!-- | ||
27 | We default to disabled so administrator can decide to enable or not. | ||
28 | --> | ||
29 | <create_default_instance enabled='false'/> | ||
30 | |||
31 | <single_instance/> | ||
32 | |||
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> | ||
40 | |||
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> | ||
48 | |||
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> | ||
55 | |||
56 | <exec_method | ||
57 | name='start' | ||
58 | type='method' | ||
59 | exec='/lib/svc/method/site/__SYSVINIT_NAME__ start' | ||
60 | timeout_seconds='60'> | ||
61 | <method_context/> | ||
62 | </exec_method> | ||
63 | |||
64 | <exec_method | ||
65 | name='stop' | ||
66 | type='method' | ||
67 | exec=':kill' | ||
68 | timeout_seconds='60'> | ||
69 | <method_context/> | ||
70 | </exec_method> | ||
71 | |||
72 | <property_group | ||
73 | name='startd' | ||
74 | type='framework'> | ||
75 | <propval name='ignore_error' type='astring' value='core,signal'/> | ||
76 | </property_group> | ||
77 | |||
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> | ||