Merge pull request #40 from ClusterLabs/firewalld

Make sure that firewalld is started before trying to opening ports
main
Fabio M. Di Nitto 4 years ago committed by GitHub
commit 95340bb514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      anvil.spec.in

@ -266,6 +266,8 @@ touch /etc/anvil/type.striker
### TODO: I don't think we need this anymore ### TODO: I don't think we need this anymore
# Open access for Striker. The database will be opened after initial setup. # Open access for Striker. The database will be opened after initial setup.
echo "Opening the web and postgresql ports." echo "Opening the web and postgresql ports."
systemctl enable firewalld
systemctl start firewalld
firewall-cmd --add-service=http firewall-cmd --add-service=http
firewall-cmd --add-service=http --permanent firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https firewall-cmd --add-service=https

Loading…
Cancel
Save