summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>