28 lines
906 B
Plaintext
28 lines
906 B
Plaintext
##--------------------------------------------------------------------
|
|
## Plugin
|
|
##
|
|
## Manage EMQX plugins
|
|
##--------------------------------------------------------------------
|
|
## Note: This is an example of how to configure this feature
|
|
## you should copy and paste the below data into the emqx.conf for working
|
|
|
|
plugin {
|
|
## Plugins declaration
|
|
## Note: The plugins are started in the defined order
|
|
states = [
|
|
{
|
|
## Name and version of this plugin
|
|
## Type: Formatted String
|
|
## Format: {name}-{version}
|
|
## Note: name and version should be what it is in the plugin application
|
|
name_vsn = "my_acl-0.1.0",
|
|
|
|
enable = true ## enable this plugin
|
|
},
|
|
{name_vsn = "my_rule-0.1.1", enable = false}
|
|
]
|
|
|
|
## The installation directory for the external plugins
|
|
install_dir = "plugins"
|
|
}
|