mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Reworks reload of in-mem preferences and runtimeprefs.json dump
This commit is contained in:
parent
3912459892
commit
5b878a2a7a
10 changed files with 115 additions and 34 deletions
|
|
@ -23,7 +23,9 @@ local now = os.time()
|
|||
local ifnames = interface.getIfNames()
|
||||
|
||||
alert_utils.notify_ntopng_stop()
|
||||
prefs_dump_utils.savePrefsToDisk()
|
||||
|
||||
-- Check and possibly dump preferences to disk
|
||||
prefs_dump_utils.check_dump_prefs_to_disk()
|
||||
|
||||
for _, ifname in pairs(ifnames) do
|
||||
interface.select(ifname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue