mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Make sure we install realpath
(some systems don't have it :/)
This commit is contained in:
parent
263f6d6429
commit
8f844928b7
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ then
|
|||
CONFFILE=/etc/apache2/sites-available/000-default.conf
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-upgrade install apache2 #curl
|
||||
sudo apt-get -y install realpath # needed for test-apache-conf
|
||||
# For apache 2.4, set up ServerName
|
||||
sudo sed -i '/ServerName/ s/#ServerName/ServerName/' $CONFFILE
|
||||
sudo sed -i '/ServerName/ s/www.example.com/'$PUBLIC_HOSTNAME'/' $CONFFILE
|
||||
|
|
|
|||
Loading…
Reference in a new issue