mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +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
|
if head -1 $FILE | grep -q "xml version"; then
|
||||||
echo "$FILE has an XML header; removing"
|
echo "$FILE has an XML header; removing"
|
||||||
sed -i 1d $FILE
|
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
|
else
|
||||||
echo "$FILE does not have an XML header, so no changes are necessary."
|
echo "$FILE does not have an XML header, so no changes are necessary."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user