This is the manifest for "network/uconnd/tcp":

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM
'/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
  <service name='network/uconnd/tcp' type='service' version='0'>
    <restarter>
      <service_fmri value='svc:/network/inetd:default'/>
    </restarter>
    <exec_method name='inetd_start' type='method' exec='/usr/us/bin/uconnd'
time
out_seconds='0'>
      <method_context project='workproj1'>
        <method_credential user='root' group='root'/>
      </method_context>
    </exec_method>
    <exec_method name='inetd_disable' type='method' exec=':kill'
timeout_seconds
='0'>
      <method_context/>
    </exec_method>
    <exec_method name='inetd_offline' type='method' exec=':kill_process'
timeout
_seconds='0'>
      <method_context/>
    </exec_method>
    <property_group name='inetconv' type='framework'>
      <propval name='converted' type='boolean' value='true'/>
      <propval name='source_line' type='astring' value='uconnd tli tcp wait
root
 /usr/us/bin/uconnd  uconnd'/>
      <propval name='version' type='integer' value='1'/>
    </property_group>
    <property_group name='inetd' type='framework'>
      <propval name='endpoint_type' type='astring' value='tli'/>
      <propval name='isrpc' type='boolean' value='false'/>
      <propval name='name' type='astring' value='uconnd'/>
      <propval name='proto' type='astring' value='tcp'/>
      <propval name='wait' type='boolean' value='true'/>
    </property_group>
    <instance name='default' enabled='true'>
      <property_group name='start' type='framework'>
        <propval name='project' type='astring' value='workproj1'/>
      </property_group>
    </instance>
    <stability value='External'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>uconnd</loctext>
      </common_name>
    </template>
  </service>
</service_bundle>

Tom

-----Original Message-----
From: smf-discuss-boun...@opensolaris.org
[mailto:smf-discuss-bounces at opensolaris.org] On Behalf Of Tom Hintz
Sent: Monday, October 23, 2006 9:12 AM
To: 'David Bustos'
Cc: smf-discuss at opensolaris.org
Subject: RE: [smf-discuss] rctl per service


It's a custom service imported from inetd.conf.  Can you point me to the
docs that describe the specific start and method_context elements I'm
looking for?

Thanks!

Tom

-----Original Message-----
From: David Bustos [mailto:david.bus...@sun.com] 
Sent: Friday, October 20, 2006 8:26 PM
To: Tom Hintz
Cc: smf-discuss at opensolaris.org
Subject: Re: [smf-discuss] rctl per service


Quoth Tom Hintz on Fri, Oct 20, 2006 at 01:54:23PM -0500:
> Fumbling around, I see different properties if I select like this:
> 
> platypus# svccfg -s network/uconnd/tcp svc:/network/uconnd/tcp>
> listprop ...
> inetd_start/project            astring  :default
> ...
> 
> This I changed to:
> 
> inetd_start/project            astring  workproj1
> 
> No change.  File descriptors are still limited to 256.

Multiple properties are required for the method context to be considered
complete.  Instead of using svccfg, add a method_context element to the
start method in the service's manifest, and import it.

Is this a custom service, or one delivered by a package?


David

_______________________________________________
smf-discuss mailing list
smf-discuss at opensolaris.org


Reply via email to