Skip to content

Instantly share code, notes, and snippets.

@natefoo
Created February 22, 2013 17:27
Show Gist options
  • Save natefoo/5015141 to your computer and use it in GitHub Desktop.
Save natefoo/5015141 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='SUNWcsr:ndd'>
<service
name='network/linkprop'
type='service'
version='1'>
<create_default_instance enabled='true' />
<single_instance />
<dependent
name='network-physical-network-linkprop'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/network/physical:default' />
</dependent>
<exec_method
type='method'
name='start'
exec='/opt/custom/lib/svc/method/net-linkprop start'
timeout_seconds='10' />
<exec_method
type='method'
name='stop'
exec='/opt/custom/lib/svc/method/net-linkprop stop'
timeout_seconds='10' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<property_group name='config' type='config'>
<propval name='file' type='astring' value='/opt/custom/etc/network-linkprop.conf'/>
</property_group>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
dladm linkprop configuration
</loctext>
</common_name>
<documentation>
<manpage title='dladm' section='1M'
manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment