Skip to content

Commit

Permalink
only replace exact match.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurtin committed Oct 4, 2016
1 parent c4c505a commit 27aff4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/setup_phppgadmin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sudo service apache2 reload
# enable user "postgres" to login
sudo sed -i "s/\s*\$conf\['extra_login_security'\] = true;/ \$conf\['extra_login_security'\] = false;/" /etc/phppgadmin/config.inc.php
# Update port 80 to port 8080
sudo sed -i "s/Listen 80\s*/Listen 8080/" /etc/apache2/ports.conf
sudo sed -i "s/\<Listen 80\>\s*/Listen 8080/" /etc/apache2/ports.conf
sudo sed -i "s/:80>/:8080>/" /etc/apache2/sites-available/000-default.conf
sudo /etc/init.d/apache2 restart

Expand Down

0 comments on commit 27aff4c

Please sign in to comment.