Commit df228f47e70660e58cf8791cd0815abedc448d01

Authored by macartur
1 parent 0d76115f

commeting the lokkit command because this open the iptables door

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
script/gitlab.sh
... ... @@ -88,7 +88,7 @@ sudo echo "gitlab_rails['issues_tracker_redmine_new_issue_url'] = 'http://$IP_RE
88 88  
89 89 #7. Liberando firewall para servisos http e ssh
90 90 echo "Adicionando regras no firewall para habilitar http e ssh, caso estejam desabilitados"
91   -sudo lokkit -s http -s ssh
  91 +#sudo lokkit -s http -s ssh
92 92  
93 93 # Liberando porta 22, isso e' essencial para o funcionamento do git
94 94 # Caso queira restringir o acesso para redes especificas, favor adicionar opcao
... ... @@ -113,7 +113,6 @@ sudo echo "gitlab_rails['ldap_bind_dn'] = '$bind_dn'" >> /etc/gitlab/gitlab.rb
113 113 sudo echo "gitlab_rails['ldap_password'] = '$password'" >> /etc/gitlab/gitlab.rb
114 114 sudo echo "gitlab_rails['ldap_allow_username_or_email_login'] = true" >> /etc/gitlab/gitlab.rb
115 115  
116   -
117 116 echo "Iniciando gitlab"
118 117 sudo gitlab-ctl reconfigure
119 118 sudo gitlab-ctl restart
... ...