| Current File : //lib/svc/manifest/system/environment.xml |
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
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_bundle type='manifest' name='SUNWcs:environment'>
<service
name='system/environment'
type='service'
version='1'>
<dependency
name='usr'
type='service'
grouping='require_all'
restart_on='none'>
<service_fmri value='svc:/system/filesystem/minimal' />
</dependency>
<!--
This service should be online in single-user mode.
-->
<dependent
name='environment_singleuser'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/single-user' />
</dependent>
<dependent
name='environment_self-assembly-complete'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/self-assembly-complete' />
</dependent>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/svc-initial-environment start'
timeout_seconds='180' />
<exec_method
type='method'
name='stop'
exec=':true'
timeout_seconds='180' />
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/svc-initial-environment refresh'
timeout_seconds='180' />
<exec_method
type='method'
name='unconfigure'
exec='/lib/svc/method/svc-initial-environment unconfigure'
timeout_seconds='180' />
<instance name='init' enabled='true'>
<property_group name='general' type='framework'>
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.environment' />
</property_group>
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<property_group name='umask' type='application'>
<propval name='umask' type='astring'
value='022' />
<propval name='value_authorization' type='astring'
value='solaris.smf.value.environment' />
</property_group>
<property_group name='environment' type='application'>
<propval name='LC_ALL' type='astring'
value='' />
<propval name='LANG' type='astring'
value='' />
<propval name='LC_CTYPE' type='astring'
value='' />
<propval name='LC_NUMERIC' type='astring'
value='' />
<propval name='LC_TIME' type='astring'
value='' />
<propval name='LC_COLLATE' type='astring'
value='' />
<propval name='LC_MONETARY' type='astring'
value='' />
<propval name='LC_MESSAGES' type='astring'
value='' />
<propval name='TZ' type='astring'
value="localtime" />
<propval name='value_authorization' type='astring'
value='solaris.smf.value.environment' />
</property_group>
<property_group name='sysconfig' type='sysconfig'>
<propval name='group' type='astring' value='location' />
<propval name='reconfigurable' type='boolean' value='false'/>
<property name='config_properties' type='astring'>
<astring_list>
<value_node value='sc_all:environment/LC_ALL' />
<value_node value='sc_lang:environment/LANG' />
<value_node value='sc_ctype:environment/LC_CTYPE' />
<value_node value='sc_numeric:environment/LC_NUMERIC' />
<value_node value='sc_time:environment/LC_TIME' />
<value_node value='sc_collate:environment/LC_COLLATE' />
<value_node value='sc_monetary:environment/LC_MONETARY' />
<value_node value='sc_messages:environment/LC_MESSAGES' />
<value_node value='sc_tz:environment/TZ' />
</astring_list>
</property>
<propval name='value_authorization' type='astring'
value='solaris.smf.value.environment' />
</property_group>
</instance>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
Init environment
</loctext>
</common_name>
<documentation>
<manpage title='init' section='1M'
manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>