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> 88