Skip to content

Commit

Permalink
Update 02-set_config_filebeat.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaos committed Aug 27, 2021
1 parent 6a9d230 commit 941bb52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wazuh/config/02-set_config_filebeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ set -e
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.1.tar.gz

echo "FILEBEAT - Copy Filebeat config file"
if ! [[ -L /etc/filebeat/filebeat.yml ]]
if ! [[ -L /etc/filebeat/filebeat.yml ]]; then
cp filebeat.yml /etc/filebeat/filebeat.yml
else
echo "Not needed. File already exist."
fi
echo "FILEBEAT - Set permissions"

chmod go-w /etc/filebeat/filebeat.yml
Expand Down

0 comments on commit 941bb52

Please sign in to comment.