| Current File : //lib/svc/manifest/application/stosreg.xml |
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
NOTE: This service manifest is not editable; its contents will
be overwritten by package or patch operations, including
operating system upgrade. Make customizations in a different
file.
Service manifest for Service Tag OS Registry Insertion
-->
<service_bundle type='manifest' name='SUNWstosreg:stosreg'>
<service name='application/stosreg'
type='service'
version='1'>
<create_default_instance enabled='false' />
<single_instance />
<!-- Wait for all local filesystems to be mounted. -->
<dependency name='filesystem-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local:default'/>
</dependency>
<!-- Wait for identities to be mapped in NFS/diskless environments -->
<dependency name='mapid'
grouping='optional_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/nfs/mapid'/>
</dependency>
<!-- Wait for system to transition to multi-user mode -->
<dependency name='multi-user'
grouping='require_all'
restart_on='error'
type='service'>
<service_fmri value='svc:/milestone/multi-user:default'/>
</dependency>
<exec_method type='method'
name='start'
exec='/lib/svc/method/svc-stosreg'
timeout_seconds='10'>
<method_context>
<method_credential user='svctag' group='daemon'
privileges='basic' />
</method_context>
</exec_method>
<exec_method type='method'
name='stop'
exec=':true'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<property_group name='general' type='framework'>
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.servicetags' />
</property_group>
<template>
<common_name>
<loctext xml:lang='C'>
Service Tag OS Registry Inserter
</loctext>
</common_name>
<documentation>
<manpage title='stclient' section='1M' />
</documentation>
</template>
</service>
</service_bundle>