Skip to content

Commit

Permalink
fix so-allow-elastic to work with new /etc/ufw/after.rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks committed Dec 14, 2017
1 parent f221e5f commit 649e70a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/sbin/so-allow-elastic
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ $rule

if [[ "$category" == "elastic" ]]; then
# Add rule to /etc/ufw/after.rules
sed -i "/-N DOCKER-USER/a $ufw_after_rules" /etc/ufw/after.rules
sed -i "/so-allow/a $ufw_after_rules" /etc/ufw/after.rules
fi

echo "Rule has been added."
Expand Down
Empty file modified usr/sbin/so-elastic-configure-ufw
100755 → 100644
Empty file.

0 comments on commit 649e70a

Please sign in to comment.