1 <?xml version="1.0"?> 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3 <service_bundle type='manifest' name='tank-timf-torrent,foo'> 4 <service 5 name='system/filesystem/zfs/auto-snapshot' 6 type='service' 7 version='0.11'> 8 <create_default_instance enabled='false' /> 9 10 <instance name='tank-timf-torrent,foo' enabled='false' > 11 12 <exec_method 13 type='method' 14 name='start' 15 timeout_seconds='10' /> 16 17 <exec_method 18 type='method' 19 name='stop' 20 exec='/lib/svc/method/zfs-auto-snapshot stop' 21 timeout_seconds='10' /> 22 23 <property_group name='startd' type='framework'> 24 <propval name='duration' type='astring' value='transient' /> 25 </property_group> 26 27 <!-- properties for zfs automatic snapshots --> 28 <property_group name="zfs" type="application"> 29 30 <propval name="fs-name" type="astring" value="tank/timf/torrent" 31 override="true"/> 32 <propval name="interval" type="astring" value="hours" 33 override="true"/> 34 <propval name="period" type="astring" value="14" 35 override="true"/> 36 <propval name="offset" type="astring" value="0" 37 override="true"/> 38 <propval name="keep" type="astring" value="16" 39 override="true"/> 40 <propval name="snapshot-children" type="boolean" value="false" 41 override="true"/> 42 43 <propval name="backup" type="astring" value="incremental" 44 override="true"/> 45 <propval name="backup-save-cmd" type="astring" value="ssh timf@hostname /usr/bin/pfexec /usr/sbin/zfs receive tank/backup" 46 override="true"/> 47 <propval name="backup-lock" type="astring" value="unlocked" 48 override="true"/> 49 50 <propval name="label" type="astring" value="foo" 51 override="true"/> 52 53 <propval name="verbose" type="boolean" value="false" 54 override="true"/> 55 56 </property_group> 57 58 </instance> 59 60 <stability value='Unstable' /> 61 </service> 62 </service_bundle> 63