Reload the periodic scripts when the configuration changes

This commit is contained in:
emanuele-f 2019-12-31 19:31:03 +01:00
parent 87c336a4aa
commit 4621a8f409
7 changed files with 32 additions and 1 deletions

View file

@ -489,6 +489,9 @@ function plugins_utils.loadPlugins()
persistence.store(plugins_utils.PLUGINS_RUNTIME_METADATA, plugins_metadata)
ntop.setDefaultFilePermissions(plugins_utils.PLUGINS_RUNTIME_METADATA)
-- Reload the periodic scripts to load the new plugins
ntop.reloadPeriodicScripts()
return(true)
end