Mastering Nginx

(Ron) #1
Appendix D

[ 285 ]

restart_on='none'>
<service_fmri value='svc:/network/initial' />
</dependent>

<exec_method
type='method'
name='start'
exec='/lib/svc/method/network-tuning.sh'
timeout_seconds='60' />

<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>

<stability value='Unstable' />

<template>
<common_name>
<loctext xml:lang='C'>
Network Tunings
</loctext>
</common_name>

</template>
</service>

</service_bundle>

This service is intentionally kept simple, for demonstration purposes. The interested
reader can explore SMF in the Solaris man pages and online resources.

Free download pdf