openssh.xml.in revision 162852
11556Srgrimes<?xml version='1.0'?>
21556Srgrimes<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
31556Srgrimes<!--
41556Srgrimes    Copyright (c) 2006 Chad Mynhier.
51556Srgrimes
61556Srgrimes    Permission to use, copy, modify, and distribute this software for any
71556Srgrimes    purpose with or without fee is hereby granted, provided that the above
81556Srgrimes    copyright notice and this permission notice appear in all copies.
91556Srgrimes
101556Srgrimes    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
111556Srgrimes    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
121556Srgrimes    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
131556Srgrimes    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
141556Srgrimes    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
151556Srgrimes    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
161556Srgrimes    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
171556Srgrimes-->
181556Srgrimes
191556Srgrimes<service_bundle type='manifest' name='OpenSSH server'>
201556Srgrimes
211556Srgrimes    <service
221556Srgrimes        name='site/openssh'
231556Srgrimes        type='service'
241556Srgrimes        version='1'>
251556Srgrimes
261556Srgrimes        <create_default_instance enabled='false'/>
271556Srgrimes
281556Srgrimes        <single_instance/>
291556Srgrimes
301556Srgrimes        <dependency
3136149Scharnier            name='filesystem-local'
32105269Smarkm            grouping='require_all'
3336149Scharnier            restart_on='none'
341556Srgrimes            type='service'>
3599110Sobrien            <service_fmri value='svc:/system/filesystem/local'/>
3699110Sobrien        </dependency>
371556Srgrimes
381556Srgrimes        <dependency
391556Srgrimes            name='network'
401556Srgrimes            grouping='require_all'
411556Srgrimes            restart_on='none'
421556Srgrimes            type='service'>
431556Srgrimes            <service_fmri value='svc:/milestone/network'/>
441556Srgrimes        </dependency>
451556Srgrimes
461556Srgrimes        <dependent
471556Srgrimes            name='multi-user-server'
481556Srgrimes            restart_on='none'
491556Srgrimes            grouping='optional_all'>
501556Srgrimes            <service_fmri value='svc:/milestone/multi-user-server'/>
511556Srgrimes        </dependent>
521556Srgrimes
531556Srgrimes        <exec_method
541556Srgrimes            name='start'
5590110Simp            type='method'
561556Srgrimes            exec='/lib/svc/method/site/opensshd start'
571556Srgrimes            timeout_seconds='60'>
581556Srgrimes            <method_context/>
591556Srgrimes        </exec_method>
601556Srgrimes
611556Srgrimes        <exec_method
621556Srgrimes            name='stop'
631556Srgrimes            type='method'
641556Srgrimes            exec=':kill'
651556Srgrimes            timeout_seconds='60'>
661556Srgrimes            <method_context/>
671556Srgrimes        </exec_method>
681556Srgrimes
691556Srgrimes        <property_group
7090110Simp            name='startd'
711556Srgrimes            type='framework'>
721556Srgrimes            <propval name='ignore_error' type='astring' value='core,signal'/>
731556Srgrimes        </property_group>
741556Srgrimes
751556Srgrimes        <template>
761556Srgrimes            <common_name>
771556Srgrimes                <loctext xml:lang='C'>OpenSSH server</loctext>
781556Srgrimes            </common_name>
791556Srgrimes            <documentation>
801556Srgrimes                <manpage
811556Srgrimes                    title='sshd'
821556Srgrimes                    section='1M'
831556Srgrimes                    manpath='@prefix@/man'/>
8490110Simp            </documentation>
851556Srgrimes        </template>
861556Srgrimes    </service>
871556Srgrimes</service_bundle>
881556Srgrimes