summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-05-28 22:27:30 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-05-28 22:53:39 +0400
commitb76c4b20bfa94945ef51455edcb6c426a0950bdd (patch)
tree8e5ed15a444eb610dc26cdced6cfa9d5a384c544
parent53f5297f9f4bd666ac476aab1a931a7e3468be77 (diff)
downloadavahi-b76c4b20bfa94945ef51455edcb6c426a0950bdd.tar.gz
Added SMF service for avahi-dnsconfd
-rw-r--r--debian/avahi-dnsconfd.smf/manifest/network/avahi-dnsconfd.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/avahi-dnsconfd.smf/manifest/network/avahi-dnsconfd.xml b/debian/avahi-dnsconfd.smf/manifest/network/avahi-dnsconfd.xml
new file mode 100644
index 0000000..efe272a
--- /dev/null
+++ b/debian/avahi-dnsconfd.smf/manifest/network/avahi-dnsconfd.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/xml/schema/smf/service_bundle.dtd.1">
+<service_bundle type="manifest" name="avahi-dnsconfd">
+ <service name="network/dns/avahi-dnsconfd" type="service" version="1">
+ <create_default_instance enabled="true"/>
+ <dependency name="avahi" grouping="require_all" restart_on="none" type="service">
+ <service_fmri value="svc:/network/dns/multicast:avahi"/>
+ </dependency>
+ <dependency name="script" grouping="require_all" restart_on="refresh" type="path">
+ <service_fmri value="file://localhost/etc/avahi/avahi-dnsconfd.action"/>
+ </dependency>
+ <exec_method type="method" name="start" exec="/usr/sbin/avahi-dnsconfd -D" timeout_seconds="60"/>
+ <exec_method type="method" name="stop" exec="/usr/sbin/avahi-dnsconfd -k" timeout_seconds="60"/>
+ <exec_method type="method" name="refresh" exec="/usr/sbin/avahi-dnsconfd -r" timeout_seconds="60"/>
+ <stability value="Unstable"/>
+ <template>
+ <common_name>
+ <loctext xml:lang="C">Avahi Unicast DNS Configuration Daemon</loctext>
+ </common_name>
+ <documentation>
+ <manpage title="avahi-dnsconfd" section="8"/>
+ <manpage title="avahi-dnsconfd.action" section="8"/>
+ <manpage title="avahi-daemon" section="8"/>
+ </documentation>
+ </template>
+ </service>
+</service_bundle>