mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
restart wazuh with docker restart vs so-wazuh-restart
This commit is contained in:
@@ -946,7 +946,7 @@ fix_wazuh() {
|
||||
if head -1 $FILE | grep -q "xml version"; then
|
||||
echo "$FILE has an XML header; removing"
|
||||
sed -i 1d $FILE
|
||||
so-wazuh-restart
|
||||
docker restart so-wazuh # cannot use so-wazuh-restart here because the salt-master service is stopped
|
||||
else
|
||||
echo "$FILE does not have an XML header, so no changes are necessary."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user