daemon: load a domain-control plugin for webruntimes in the sample config.
authorKrisztian Litkey <kli@iki.fi>
Mon, 25 Mar 2013 20:49:06 +0000 (22:49 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 27 Mar 2013 09:14:27 +0000 (11:14 +0200)
src/daemon/murphy.lua

index 9e897c4..bd91c0e 100644 (file)
@@ -81,6 +81,18 @@ else
     m:info("No domain-control plugin found...")
 end
 
+-- load the domain control plugin if it exists
+if m:plugin_exists('domain-control') then
+    m:load_plugin('domain-control', 'wrt-export', {
+        external_address = '',
+        internal_address = '',
+        wrt_address = "wsck:127.0.0.1:5000/murphy",
+        httpdir     = "src/plugins/domain-control"
+    })
+else
+    m:info("No domain-control plugin found...")
+end
+
 
 -- define application classes
 application_class { name="interrupt", priority=99, modal=true , share=false, order="fifo" }