mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
13 lines
588 B
Bash
13 lines
588 B
Bash
#!/bin/bash
|
|
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
|
|
|
##############################################################################
|
|
# Change Wazuh manager configuration.
|
|
##############################################################################
|
|
|
|
# # Example:
|
|
# # Change remote protocol from udp to tcp
|
|
# PROTOCOL="tcp"
|
|
# sed -i -e '/<remote>/,/<\/remote>/ s|<protocol>udp</protocol>|<protocol>'$PROTOCOL'</protocol>|g' /var/ossec/etc/ossec.conf
|
|
# # It is necessary to restart the service in order to apply the new configuration.
|
|
# service wazuh-manager restart |