Skip to content

Commit

Permalink
Add more logs for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasas993 committed Nov 19, 2024
1 parent 8f97e4d commit 4f5a067
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distribution/packages/src/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ fi
if command -v systemctl > /dev/null; then
systemctl restart systemd-sysctl.service || true
elif command -v sysctl > /dev/null; then
# Load configurations from /etc/sysctl.conf
echo "Load configurations from /etc/sysctl.conf"
sysctl -p
fi

if command -v systemd-tmpfiles > /dev/null; then
systemd-tmpfiles --create wazuh-indexer.conf
else
echo "touch wazuh-indexer.conf"
touch wazuh-indexer.conf
fi

Expand Down

0 comments on commit 4f5a067

Please sign in to comment.