Browse files

Update deploy.rb.sample

  • Loading branch information...
1 parent 21ca449 commit 9b1e74783a3de8a67e23ab3911e398de82c42eb0 @inforserver2 committed Mar 26, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 config/deploy.rb.sample
View
3 config/deploy.rb.sample
@@ -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

0 comments on commit 9b1e747

Please sign in to comment.