mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
ensure suri rules are synced for import installs
This commit is contained in:
@@ -695,9 +695,11 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
logCmd "so-rule-update"
|
logCmd "so-rule-update"
|
||||||
title "Downloading YARA rules"
|
title "Downloading YARA rules"
|
||||||
logCmd "su socore -c '/usr/sbin/so-yara-download'"
|
logCmd "su socore -c '/usr/sbin/so-yara-download'"
|
||||||
if [[ $monints ]]; then
|
if [[ $monints || $is_import ]]; then
|
||||||
title "Restarting Suricata to pick up the new rules"
|
title "Restarting Suricata to pick up the new rules"
|
||||||
logCmd "so-suricata-restart"
|
logCmd "so-suricata-restart"
|
||||||
|
fi
|
||||||
|
if [[ $monints ]]; then
|
||||||
title "Restarting Strelka to use new rules"
|
title "Restarting Strelka to use new rules"
|
||||||
logCmd "so-strelka-restart"
|
logCmd "so-strelka-restart"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user