2016-04-18 14:33:06 +00:00
|
|
|
<?xml version='1.0'?>
|
|
|
|
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
|
|
|
|
<service_bundle type='manifest' name='export'>
|
|
|
|
<service name='system/guesthandler' type='service' version='0'>
|
|
|
|
<create_default_instance enabled='true'/>
|
|
|
|
<single_instance/>
|
|
|
|
<dependency name='vmadmd' grouping='require_all' restart_on='none' type='service'>
|
|
|
|
<service_fmri value='svc:/system/smartdc/vmadmd:default'/>
|
|
|
|
</dependency>
|
2016-04-19 07:34:42 +00:00
|
|
|
<exec_method name='start' type='method' exec='%{config/method_prefix}/svc-guesthandler %m' timeout_seconds='0'>
|
2016-04-19 07:27:23 +00:00
|
|
|
<method_context>
|
|
|
|
<method_environment>
|
2016-04-19 08:44:11 +00:00
|
|
|
<envvar name='DELAY' value='30'/>
|
2016-04-19 07:27:23 +00:00
|
|
|
</method_environment>
|
|
|
|
</method_context>
|
|
|
|
</exec_method>
|
2016-04-29 14:48:28 +00:00
|
|
|
<exec_method name='stop' type='method' exec='%{config/method_prefix}/svc-guesthandler %m' timeout_seconds='0'>
|
|
|
|
<method_context>
|
|
|
|
<method_environment>
|
|
|
|
<envvar name='GRACE_PERIOD' value='300'/>
|
|
|
|
</method_environment>
|
|
|
|
</method_context>
|
|
|
|
</exec_method>
|
2016-04-18 14:33:06 +00:00
|
|
|
<property_group name='startd' type='framework'>
|
|
|
|
<propval name='duration' type='astring' value='transient'/>
|
|
|
|
</property_group>
|
2016-04-19 07:27:23 +00:00
|
|
|
<property_group name='config' type='eu.gerczei,guesthandler_configuration'>
|
2016-04-19 07:34:42 +00:00
|
|
|
<propval name='method_prefix' type='astring' value='/opt/custom/bin'/>
|
2016-04-19 07:27:23 +00:00
|
|
|
</property_group>
|
2016-04-18 14:33:06 +00:00
|
|
|
<stability value='Unstable'/>
|
|
|
|
<template>
|
|
|
|
<common_name>
|
|
|
|
<loctext xml:lang='C'>Ordered start-up and shutdown for zones</loctext>
|
|
|
|
</common_name>
|
|
|
|
</template>
|
|
|
|
</service>
|
|
|
|
</service_bundle>
|