| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | <?xml version="1.0"?> | | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | | 2 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
3 | <service_bundle type="manifest" name="export"> | | 3 | <service_bundle type="manifest" name="export"> |
4 | <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="3"> | | 4 | <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="3"> |
5 | <create_default_instance enabled="false" /> | | 5 | <create_default_instance enabled="false" /> |
6 | <single_instance/> | | 6 | <single_instance/> |
7 | | | 7 | |
8 | <dependency name='milestone' grouping='require_all' restart_on='none' type='service'> | | 8 | <dependency name='milestone' grouping='require_all' restart_on='none' type='service'> |
9 | <service_fmri value='svc:/milestone/sysconfig' /> | | 9 | <service_fmri value='svc:/milestone/sysconfig' /> |
10 | </dependency> | | 10 | </dependency> |
11 | | | 11 | |
12 | <method_context><method_credential user='root'/></method_context> | | 12 | <method_context><method_credential user='root'/></method_context> |
13 | | | 13 | |
14 | <exec_method type="method" name="start" exec="@PREFIX@/bin/znapzend --daemonize --pidfile=@VARBASE@/run/znapzend.pid" timeout_seconds="170" /> | | 14 | <exec_method type="method" name="start" exec="@PREFIX@/bin/znapzend --daemonize --pidfile=/dev/null" timeout_seconds="170" /> |
15 | <exec_method type="method" name="stop" exec="/usr/bin/kill `cat @VARBASE@/run/znapzend.pid`" timeout_seconds="60" /> | | 15 | <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" /> |
16 | | | 16 | |
17 | <stability value="Unstable" /> | | 17 | <stability value="Unstable" /> |
18 | | | 18 | |
19 | <template> | | 19 | <template> |
20 | <common_name><loctext xml:lang="C">ZnapZend - ZFS Backup System</loctext></common_name> | | 20 | <common_name><loctext xml:lang="C">ZnapZend - ZFS Backup System</loctext></common_name> |
21 | <documentation> | | 21 | <documentation> |
22 | <manpage title="znapzend" section="1" manpath="@PREFIX@/share/man" /> | | 22 | <manpage title="znapzend" section="1" manpath="@PREFIX@/share/man" /> |
23 | <manpage title="znapzendzetup" section="1" manpath="@PREFIX@/share/man" /> | | 23 | <manpage title="znapzendzetup" section="1" manpath="@PREFIX@/share/man" /> |
24 | <manpage title="znapzendztatz" section="1" manpath="@PREFIX@/share/man" /> | | 24 | <manpage title="znapzendztatz" section="1" manpath="@PREFIX@/share/man" /> |
25 | </documentation> | | 25 | </documentation> |
26 | </template> | | 26 | </template> |
27 | </service> | | 27 | </service> |
28 | </service_bundle> | | 28 | </service_bundle> |