Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update deploy.rb.sample

  • Loading branch information...
commit 9b1e74783a3de8a67e23ab3911e398de82c42eb0 1 parent 21ca449
Humberto Ribeiro authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  config/deploy.rb.sample
3  config/deploy.rb.sample
View
@@ -329,8 +329,9 @@ task :php_modules do
run "sed -i '$ a\local all deploy md5' /etc/postgresql/9.1/main/pg_hba.conf"
run 'sed -i "s#_security[\']] = true#_security\'] = false#g" /etc/phppgadmin/config.inc.php'
run "sed -i 's/^# allow from all/ allow from all/' /etc/phppgadmin/apache.conf"
- run "sudo -u postgres psql -d postgres -U postgres -c \"ALTER USER postgres WITH PASSWORD '{senha}';\" "
+ run "sudo -u postgres psql -d postgres -U postgres -c \"ALTER USER postgres WITH PASSWORD '{senha}';\q" "
run "#{folder}/automate_files/set_mod_rewrite_on"
+ run "sudo service postgresql restart"
run "sudo service apache2 restart"
end
Please sign in to comment.
Something went wrong with that request. Please try again.