<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='FLUFFYbox:bbackupd'>
<service
        name='network/bbackupd'
        type='service'
        version='1'>

<create_default_instance enabled='true' />

<single_instance />

<dependency
    name='fs-local'
    grouping='require_all'
    restart_on='none'
    type='service'>
        <service_fmri value='svc:/system/filesystem/local' />
</dependency>

<dependency
    name='network-service'
    grouping='require_all'
    restart_on='none'
    type='service'>
        <service_fmri value='svc:/network/service' />
</dependency>

<dependency
    name='name-services'
    grouping='require_all'
    restart_on='refresh'
    type='service'>
        <service_fmri value='svc:/milestone/name-services' />
</dependency>


<exec_method
        type='method'
        name='start'
        exec='/usr/pkg/bbackupd-smf-method start'
        timeout_seconds='60'/>

<exec_method
        type='method'
        name='stop'
        exec=':kill'
        timeout_seconds='60' />

<exec_method
        type='method'
        name='refresh'
        exec='/usr/pkg/bbackupd-smf-method restart'
        timeout_seconds='60' />

<stability value='Evolving' />

</service>
</service_bundle>
