Feng Lee 10 роки тому
батько
коміт
1992b79f88
3 змінених файлів з 8 додано та 1 видалено
  1. 5 0
      rel/files/emqttd.config
  2. 1 0
      rel/files/loaded_plugins
  3. 2 1
      rel/reltool.config

+ 5 - 0
rel/files/emqttd.config

@@ -162,6 +162,11 @@
         %% {rewrite, [{file, "etc/rewrite.config"}]}
         
     ]},
+    %% Plugins
+    {plugins, [
+        {dir, "./plugins"},
+        {loaded_file, "./data/loaded_plugins"}
+    ]},
     %% Listeners
     {listeners, [
         {mqtt, 1883, [

+ 1 - 0
rel/files/loaded_plugins

@@ -0,0 +1 @@
+[emqttd_dashboard].

+ 2 - 1
rel/reltool.config

@@ -88,5 +88,6 @@
            {template, "files/rewrite.config", "etc/rewrite.config"},
            {template, "files/clients.config", "etc/clients.config"},
            {template, "files/plugins.config", "etc/plugins.config"},
-           {template, "files/vm.args", "etc/vm.args"}
+           {template, "files/vm.args", "etc/vm.args"},
+           {copy, "files/loaded_plugins", "data/loaded_plugins"}
           ]}.