summaryrefslogtreecommitdiff
path: root/openssh.xml.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-09-12 21:54:10 +1000
committerDamien Miller <djm@mindrot.org>2006-09-12 21:54:10 +1000
commit223897a01af2f496577cbf8f7fa5c5209109ef8e (patch)
tree2849fdc9a56af05b25ebbff2e1b66db362a207e2 /openssh.xml.in
parent5d8a9acef0228e53e2069c6218beb8716b89aacd (diff)
- (djm) [Makefile.in buildpkg.sh.in configure.ac openssh.xml.in]
Support SMF in Solaris Packages if enabled by configure. Patch from Chad Mynhier, tested by dtucker@
Diffstat (limited to 'openssh.xml.in')
-rw-r--r--openssh.xml.in87
1 files changed, 87 insertions, 0 deletions
diff --git a/openssh.xml.in b/openssh.xml.in
new file mode 100644
index 000000000..655ee5c9e
--- /dev/null
+++ b/openssh.xml.in
@@ -0,0 +1,87 @@
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 <create_default_instance enabled='false'/>
27
28 <single_instance/>
29
30 <dependency
31 name='filesystem-local'
32 grouping='require_all'
33 restart_on='none'
34 type='service'>
35 <service_fmri value='svc:/system/filesystem/local'/>
36 </dependency>
37
38 <dependency
39 name='network'
40 grouping='require_all'
41 restart_on='none'
42 type='service'>
43 <service_fmri value='svc:/milestone/network'/>
44 </dependency>
45
46 <dependent
47 name='multi-user-server'
48 restart_on='none'
49 grouping='optional_all'>
50 <service_fmri value='svc:/milestone/multi-user-server'/>
51 </dependent>
52
53 <exec_method
54 name='start'
55 type='method'
56 exec='/lib/svc/method/site/opensshd start'
57 timeout_seconds='60'>
58 <method_context/>
59 </exec_method>
60
61 <exec_method
62 name='stop'
63 type='method'
64 exec=':kill'
65 timeout_seconds='60'>
66 <method_context/>
67 </exec_method>
68
69 <property_group
70 name='startd'
71 type='framework'>
72 <propval name='ignore_error' type='astring' value='core,signal'/>
73 </property_group>
74
75 <template>
76 <common_name>
77 <loctext xml:lang='C'>OpenSSH server</loctext>
78 </common_name>
79 <documentation>
80 <manpage
81 title='sshd'
82 section='1M'
83 manpath='@prefix@/man'/>
84 </documentation>
85 </template>
86 </service>
87</service_bundle>