Allow maltrail sensor periodic restart from webGUI (#2322)

Maltrail sensor is a memory hog (or it might leak memory), if I don't restart it every few days it crashes with OOM or worst case it takes suricata and/or ntopng with it as well. The commit makes the Maltrail sensor restart option visible webGUI's cron settings to make restarting convenient.
This commit is contained in:
Hippi Viking
2021-04-07 09:30:52 +02:00
committed by GitHub
parent 6a42c655b6
commit 8ef4dbf198
@@ -15,6 +15,7 @@ command:/usr/local/opnsense/scripts/OPNsense/Maltrail/setup.sh;/usr/local/etc/rc
parameters:
type:script
message:restarting Maltrail sensor
description:Restart Maltrail sensor
[status]
command:/usr/local/etc/rc.d/opnsense-maltrailsensor status;exit 0