aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/mdns/files/mdns.service
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-05 08:58:53 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-05 09:07:46 +1300
commit4da0611806ae98b10f6ae00200b3e292a068f940 (patch)
tree46f11945e677d62b9a0d8543885d0463a0673946 /meta-networking/recipes-protocols/mdns/files/mdns.service
parent5c9a4a08844c215ebd6f2146f50de753b8e7ecef (diff)
downloadmeta-openembedded-contrib-paule/mdns.tar.gz
mdns: move from meta-intel-iot-middlewarepaule/mdns
The following improvements have been made over the recipe that was in meta-intel-iot-middleware (a layer which is no longer actively maintained): * Upgrade to latest upstream version (765.50.9) * Fix compilation failures by passing CC and LD * Fix "no GNU hash in the ELF binary" issue * Point S at the correct source subdirectory so that "make clean" works * Fix lack of soname on libdns_sd.so leading to missing RDEPENDS QA error * Add SUMMARY Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-networking/recipes-protocols/mdns/files/mdns.service')
-rw-r--r--meta-networking/recipes-protocols/mdns/files/mdns.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/mdns/files/mdns.service b/meta-networking/recipes-protocols/mdns/files/mdns.service
new file mode 100644
index 0000000000..531d142dcd
--- /dev/null
+++ b/meta-networking/recipes-protocols/mdns/files/mdns.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Zero-configuration networking
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/bin/rm -f /var/run/mdnsd.pid
+ExecStart=/usr/sbin/mdnsd
+ExecReload=/bin/kill -HUP $MAINPID
+PIDFile=/var/run/mdnsd.pid
+Restart=always
+RestartSec=10s
+
+[Install]
+WantedBy=multi-user.target