<?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='@SMF_PREFIX@/@SMF_NAME@'
	type='service'
	version='1'>
	<create_default_instance enabled='false' />
	<single_instance />
	<dependency name='usr'
		type='service'
		grouping='require_all'
		restart_on='none'>
		<service_fmri value='svc:/system/filesystem/minimal' />
	</dependency>
	<exec_method
		type='method'
		name='start'
		exec='@PREFIX@/@SMF_METHOD_FILE.dbus@ start'
		timeout_seconds='30'>
		<method_context>
			<method_credential user='root' group='@DBUS_GROUP@' />
		</method_context>
	</exec_method>
	<exec_method
		type='method'
		name='stop'
		exec=':kill'
		timeout_seconds='30' />
	<property_group name='startd' type='framework'>
		<!-- sub-process core dumps shouldn't restart session -->
		<propval name='ignore_error' type='astring'
		    value='core,signal' />
	</property_group>
	<template>
		<common_name>
			<loctext xml:lang='C'>
			D-BUS message bus
			</loctext>
		</common_name>
		<documentation>
			<manpage title='dbus-daemon' section='1' manpath='@PREFIX@/@PKGMANDIR@'/>
		</documentation>
	</template>
  </service>
</service_bundle>
