pkgsrc/sysutils/znapzend/files/smf/manifest.xml
wiedi 8f59f4f894 Update znapzend to 0.17.0
Changes:
	- Improved pre/post send and receive commands
	- make daemon NOT abort even if there is no configuration found
	- change smf dependency to multi-user so that iscsi is running
2017-06-10 16:37:41 +00:00

29 lines
1.2 KiB
XML

<?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="3">
<create_default_instance enabled="false" />
<single_instance/>
<dependency name='milestone' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/milestone/multi-user' />
</dependency>
<method_context><method_credential user='root'/></method_context>
<exec_method type="method" name="start" exec="@PREFIX@/bin/znapzend --daemonize --pidfile=/dev/null" timeout_seconds="180" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="180" />
<exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="180" />
<template>
<common_name><loctext xml:lang="C">ZnapZend - ZFS Backup System</loctext></common_name>
<documentation>
<manpage title="znapzend" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
<manpage title="znapzendzetup" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
<manpage title="znapzendztatz" section="1" manpath="@PREFIX@/@PKGMANDIR@/" />
</documentation>
</template>
</service>
</service_bundle>