mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 20:46:19 +00:00
16 lines
481 B
Lua
16 lines
481 B
Lua
--
|
|
-- (C) 2013-20 - ntop.org
|
|
--
|
|
|
|
local dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/recipients/?.lua;" .. package.path
|
|
|
|
local rest_utils = require "rest_utils"
|
|
local notification_configs = require "notification_configs"
|
|
local recipients = require "recipients"
|
|
|
|
notification_configs.reset_configs()
|
|
recipients.cleanup()
|
|
|
|
rest_utils.answer(rest_utils.consts.success.ok)
|