forked from extern/zfs-auto-snapshot
70 lines
2.1 KiB
XML
70 lines
2.1 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
|
<!--
|
|
|
|
CDDL HEADER START
|
|
|
|
The contents of this file are subject to the terms of the
|
|
Common Development and Distribution License, Version 1.0 only
|
|
(the "License"). You may not use this file except in compliance
|
|
with the License.
|
|
|
|
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
or http://www.opensolaris.org/os/licensing.
|
|
See the License for the specific language governing permissions
|
|
and limitations under the License.
|
|
|
|
When distributing Covered Code, include this CDDL HEADER in each
|
|
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
If applicable, add the following below this CDDL HEADER, with the
|
|
fields enclosed by brackets "[]" replaced with your own identifying
|
|
information: Portions Copyright [yyyy] [name of copyright owner]
|
|
|
|
CDDL HEADER END
|
|
-->
|
|
<service_bundle type='manifest' name='space-timf'>
|
|
<service
|
|
name='system/filesystem/zfs/auto-snapshot'
|
|
type='service'
|
|
version='0.4'>
|
|
<create_default_instance enabled='false' />
|
|
|
|
<instance name='space-timf' enabled='false' >
|
|
|
|
<exec_method
|
|
type='method'
|
|
name='start'
|
|
exec='/lib/svc/method/zfs-auto-snapshot start'
|
|
timeout_seconds='10' />
|
|
|
|
<exec_method
|
|
type='method'
|
|
name='stop'
|
|
exec='/lib/svc/method/zfs-auto-snapshot stop'
|
|
timeout_seconds='10' />
|
|
|
|
<property_group name='startd' type='framework'>
|
|
<propval name='duration' type='astring' value='transient' />
|
|
</property_group>
|
|
|
|
<property_group name="zfs" type="application">
|
|
<propval name="fs-name" type="astring" value="space/timf"
|
|
override="true"/>
|
|
<propval name="interval" type="astring" value="minutes"
|
|
override="true"/>
|
|
<propval name="period" type="astring" value="30"
|
|
override="true"/>
|
|
<propval name="offset" type="astring" value="0"
|
|
override="true"/>
|
|
<propval name="keep" type="astring" value="all"
|
|
override="true"/>
|
|
<propval name="snapshot-children" type="boolean" value="false"
|
|
override="true"/>
|
|
</property_group>
|
|
|
|
</instance>
|
|
|
|
<stability value='Unstable' />
|
|
</service>
|
|
</service_bundle>
|