blob: 479f37e2c501e2493e993e636b2c904e34e1bbc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/xml/schema/smf/service_bundle.dtd.1">
<service_bundle type="manifest" name="knot">
<service name="network/dns/server" type="service" version="1">
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/system/filesystem/local"/>
</dependency>
<dependency name="net-loopback" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/network/loopback"/>
</dependency>
<dependency name="net-physical" grouping="require_all" restart_on="restart" type="service">
<service_fmri value="svc:/network/physical"/>
</dependency>
<exec_method type="method" name="start" exec="/lib/svc/method/dns-server-knot start %{config_file}" timeout_seconds="30"/>
<exec_method type="method" name="stop" exec="/lib/svc/method/dns-server-knot stop %{config_file}" timeout_seconds="30"/>
<exec_method type="method" name="refresh" exec="/lib/svc/method/dns-server-knot refresh %{config_file}" timeout_seconds="30"/>
<instance name="knot" enabled="false">
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="/etc/knot/knot.conf"/>
</property_group>
</instance>
<template>
<common_name>
<loctext xml:lang="C">
Knot DNS server
</loctext>
</common_name>
<documentation>
<manpage title="knotd" section="8" manpath="/usr/share/man"/>
<manpage title="knot.conf" section="5" manpath="/usr/share/man"/>
</documentation>
</template>
</service>
</service_bundle>
|