aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/snort/snort_alerts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/snort/snort_alerts.php b/packages/snort/snort_alerts.php
index 881a4c83..2589a382 100644
--- a/packages/snort/snort_alerts.php
+++ b/packages/snort/snort_alerts.php
@@ -43,6 +43,8 @@ if ($_POST['clear']) {
exec("killall syslogd");
exec("rm {$snort_logfile}; touch {$snort_logfile}");
system_syslogd_start();
+ exec("/usr/bin/killall -HUP snort");
+ exec("/usr/bin/killall -HUP snort2c");
}
$pgtitle = "Services: Snort: Snort Alerts";