Mark alerts-only user scripts

Such scripts are not even loaded when alerts are disabled
This commit is contained in:
emanuele-f 2019-12-12 18:36:41 +01:00
parent 52df5b25dc
commit e3052f4b63
35 changed files with 102 additions and 1 deletions

View file

@ -14,6 +14,9 @@ local script = {
threshold = 50,
},
-- This script is only for alerts generation
is_alert = true,
-- See below
hooks = {},

View file

@ -15,6 +15,9 @@ local script = {
threshold = 50,
},
-- This script is only for alerts generation
is_alert = true,
-- See below
hooks = {},