From 82db3fa3c08ec5a6e56f12ef17c34717feb65f75 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 13 Jan 2022 13:02:01 -0500 Subject: [PATCH] restart wazuh with docker restart vs so-wazuh-restart --- salt/common/tools/sbin/soup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 8e2a7d332..4414830f8 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -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