xvnc-inetd.xml revision 943
98N/A<?xml version='1.0'?>
98N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
606N/A<!--
753N/A Service manifest for the Xvnc service, when run from inetd(1M)
98N/A
98N/A Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
98N/A
98N/A Permission is hereby granted, free of charge, to any person obtaining a
98N/A copy of this software and associated documentation files (the "Software"),
98N/A to deal in the Software without restriction, including without limitation
98N/A the rights to use, copy, modify, merge, publish, distribute, sublicense,
98N/A and/or sell copies of the Software, and to permit persons to whom the
98N/A Software is furnished to do so, subject to the following conditions:
98N/A
98N/A The above copyright notice and this permission notice (including the next
98N/A paragraph) shall be included in all copies or substantial portions of the
98N/A Software.
98N/A
98N/A THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98N/A IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98N/A FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
98N/A THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98N/A LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A DEALINGS IN THE SOFTWARE.
98N/A-->
98N/A
98N/A<service_bundle type='manifest' name='SUNWxwplr:vnc'>
98N/A
98N/A<service
98N/A name='application/x11/xvnc-inetd'
493N/A type='service'
493N/A version='1'>
98N/A
98N/A <create_default_instance enabled='false' />
753N/A
493N/A <restarter>
493N/A <service_fmri value='svc:/network/inetd:default' />
493N/A </restarter>
493N/A
493N/A <!--
98N/A Set a timeout of 0 to signify to inetd that we don't want to
98N/A timeout this service, since the forked process is the one that
493N/A does the service's work. This is the case for most/all legacy
493N/A inetd services; for services written to take advantage of SMF
98N/A capabilities, the start method should fork off a process to
98N/A handle the request and return a success code.
156N/A -->
156N/A <exec_method
98N/A type='method'
98N/A name='inetd_start'
98N/A exec='/usr/bin/Xvnc -inetd -query localhost -once securitytypes=none'
606N/A timeout_seconds='0'>
606N/A <method_context>
98N/A <method_credential user='noaccess' group='noaccess' />
98N/A </method_context>
98N/A </exec_method>
98N/A
98N/A <!--
606N/A Use inetd's built-in kill support to disable services.
810N/A -->
810N/A <exec_method
810N/A type='method'
493N/A name='inetd_disable'
98N/A exec=':kill'
98N/A timeout_seconds='0'>
606N/A </exec_method>
231N/A
231N/A <property_group name='inetd' type='framework'>
493N/A <propval name='name' type='astring' value='vnc-server' />
231N/A <propval name='endpoint_type' type='astring' value='stream' />
231N/A <propval name='proto' type='astring' value='tcp' />
606N/A <propval name='wait' type='boolean' value='false' />
231N/A <propval name='isrpc' type='boolean' value='false' />
231N/A <propval name='action_authorization' type='astring'
493N/A value='solaris.smf.manage.x11' />
98N/A <propval name='value_authorization' type='astring'
98N/A value='solaris.smf.manage.x11' />
493N/A </property_group>
98N/A
98N/A <stability value='External' />
98N/A
98N/A <template>
98N/A <common_name>
98N/A <loctext xml:lang='C'>
659N/A X server that displays to VNC viewers
659N/A </loctext>
659N/A </common_name>
659N/A <documentation>
659N/A <manpage title='Xvnc' section='1'
378N/A manpath='/usr/share/man' />
659N/A </documentation>
378N/A </template>
606N/A</service>
493N/A
606N/A</service_bundle>
493N/A