mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Don't restart suricata if it doesn't exist
This commit is contained in:
@@ -687,13 +687,15 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
if [[ ! $is_airgap ]]; then
|
if [[ ! $is_airgap ]]; then
|
||||||
title "Downloading IDS Rules"
|
title "Downloading IDS Rules"
|
||||||
logCmd "so-rule-update"
|
logCmd "so-rule-update"
|
||||||
title "Restarting Suricata to pick up the new rules"
|
|
||||||
logCmd "so-suricata-restart"
|
|
||||||
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
|
||||||
|
title "Restarting Suricata to pick up the new rules"
|
||||||
|
logCmd "so-suricata-restart"
|
||||||
title "Restarting Strelka to use new rules"
|
title "Restarting Strelka to use new rules"
|
||||||
logCmd "so-strelka-restart"
|
logCmd "so-strelka-restart"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
title "Setting up Kibana Default Space"
|
title "Setting up Kibana Default Space"
|
||||||
logCmd "so-kibana-space-defaults"
|
logCmd "so-kibana-space-defaults"
|
||||||
add_web_user
|
add_web_user
|
||||||
|
|||||||
Reference in New Issue
Block a user