coherence.xml revision 18861
18861N/A<!-- Service import/configuration script for the Coherence Upnp server (http://coherence.beebits.net/) -->
18861N/A <!-- Define the name under which the service should appear (e.g. in the service manager). -->
18861N/A <!-- Define dependencies: all file systems must be mounted and network interfaces must be initialized. -->
18861N/A <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
18861N/A <!-- Define dependencies: The start/stop script as well as the config file must exist at the place they are expected. -->
18861N/A <!-- Next are the control methods for the service. There is an external script which helps us here. -->
18861N/A <exec_method type="method" name="start" exec="/lib/svc/method/coherence start" timeout_seconds='30' />
18861N/A <exec_method type="method" name="stop" exec="/lib/svc/method/coherence stop" timeout_seconds="2" />
18861N/A <exec_method type="method" name="restart" exec="/lib/svc/method/coherence restart" timeout_seconds="30" />
18861N/A <!-- Next we need an instance of the service, which describes some context and properties. -->
18861N/A <propval name='action_authorization' type='astring' value='solaris.smf.manage.coherence' />
18861N/A <propval name='action_authorization' type='astring' value='solaris.smf.manage.coherence' />
18861N/A <doc_link name="Coherence Documentation" uri="http://coherence.beebits.net/wiki/DocumentationDepartment" />