installer fixes
This commit is contained in:
parent
11844f77b7
commit
a369a432eb
|
@ -25,7 +25,7 @@ cp etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh /etc/letsencrypt/
|
||||||
chmod 750 /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
chmod 750 /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
||||||
chown root:root /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
chown root:root /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
||||||
|
|
||||||
domain=`hostaname -d`
|
domain=`hostname -d`
|
||||||
if [ -n "$domain" ]; then
|
if [ -n "$domain" ]; then
|
||||||
echo "email = hostmaster@$domain" >> /etc/letsencrypt/cli.ini
|
echo "email = hostmaster@$domain" >> /etc/letsencrypt/cli.ini
|
||||||
echo "Lets' Encrypt email set to hostmaster@$domain"
|
echo "Lets' Encrypt email set to hostmaster@$domain"
|
||||||
|
@ -34,8 +34,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp etc/apache2/conf-available/certbot.conf /etc/apache2/conf-available/certbot.conf
|
cp etc/apache2/conf-available/certbot.conf /etc/apache2/conf-available/certbot.conf
|
||||||
a2enmod proxy
|
a2enmod --quiet proxy
|
||||||
a2enconf certbot
|
a2enconf --quiet certbot
|
||||||
systemctl restart apache2
|
systemctl restart apache2
|
||||||
|
|
||||||
chmod 755 bin/*
|
chmod 755 bin/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user